Does TensorFlow provide a way to change the tensor in Fortran (column-column order? NumPy allows you to:
a = ...
np.reshape(a, (32, 32, 3), order='F')
I am trying to change CIFAR images to 32x32x3 (from a form vector 3072x1), but I get images that look like this:

Using Fortran order in Numpy solves the problem, but I need to do the same in TensorFlow.
Edit:
Now I understand that I can get the correct result by changing the shape of 3x32x32 and then transferring the output. I'm still a little surprised that TF does not provide for resizing in lowercase or main order.
source
share