Вы можете использовать X.reshape(t*n, h, w, c, order='F')
Например.
>>> x = np.array([[[ 0, 1, 2, 3],
[ 4, 5, 6, 7],
[ 8, 9, 10, 11]],
[[12, 13, 14, 15],
[16, 17, 18, 19],
[20, 21, 22, 23]]])
>>> x.shape
(2, 3, 4)
>>> x.reshape(2*3, 4, order='C')
array([[ 0, 1, 2, 3],
[ 4, 5, 6, 7],
[ 8, 9, 10, 11],
[12, 13, 14, 15],
[16, 17, 18, 19],
[20, 21, 22, 23]])
>>> x.reshape(2*3, 4, order='F')
array([[ 0, 1, 2, 3],
[12, 13, 14, 15],
[ 4, 5, 6, 7],
[16, 17, 18, 19],
[ 8, 9, 10, 11],
[20, 21, 22, 23]])