-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
help wantedExtra attention is neededExtra attention is needed
Description
These would probably take a list of dimensions to sum and to leave alone, maybe in the form of a StaticShX
value or similar. An alternative is to always sum first n
dimensions (where n
comes from SNat @n
) and use transposition to recover the more general functionality.
A related task is to then vectorize the generalized two constructors. Once they can be vectorized, we can use them and keep them early, instead of, as we do now, expressing them in terms of simpler operations and recognizing them back again in the contraction phase.
Another related task is to similarly generalize the dual operations related to replication so that we can differentiate the new operations efficiently and readably.
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed