-
Notifications
You must be signed in to change notification settings - Fork 137
Open
Labels
Description
Description
This came up in the context of #1550 . There are many cases where we want to be able to ravel a sequence of inputs into a single vector, do some computation, then reshape the outputs back into the original shapes. As was pointed out in #1552, this is exactly what einops pack/unpack does.
It would be great for us to have similar functionality, using numeric axes instead of the letter-based API.
I also tagged this as xtensor
, because it makes sense for this functionality to also have an xtensor implementation (allowing you to pack/unpack using named dims)