Suppose I have a 2d ndarray whose elements are 2d ndarrays themselves. Can the outer 2d array be considered as a 4d array? Conversely, can a 4d array be taken as 2d array of 2d arrays or a 3d array of 1d arrays? If not, can you give me an alternative which can?
Besides the answer, here's something interesting.