Theano Dimshuffle equivalent in Google's TensorFlow?
tf.transpose is probably what you are looking for.   it takes an arbitrary permutation.
I have seen that transpose and reshape together can help but I don't know how to use.
Eg. dimshuffle(0, 'x')
What is its equivalent by using transpose and reshape? or is there a better way?
Thank you.