I have a 4d numpy array which represents a dataset with 3d instances.
Lets say that the shape of the array is (32, 32, 3, 73257).
How can i change the shape of the array to (73257, 32, 32, 3)?
--- Question update It seems that both rollaxis and transpose do the trick.
Thanx for replying!
transposewould work here too if you used(3, 0, 1, 2)- Eric