You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
How to get all the sub-sub-views in an array? #1002
Given a four dimensional array of shape (X, Y, Z, W) is there a concise way to get all the (X x Y) 2-dimensional sub-sub-views of shape (Z,W)? (or all the the (A x B) 3-dimensional sub-sub-views of shape (C, D, E) in a 5-dimensional array of shape (A, B, C, D, E)
Addendum: currently I'm doing it by reshaping to (XY, Z, W) and using axis_iter.
Activity