How can we reshape a tensor in tensorflow using current shape of tensor. For example, if I want to reshape a 3x2 matrix in 2x3 matrix how can I do that. Like, the equivalent thing in numpy is:
x = np.reshape( x , ( x.shape[1] , x.shape[0] ) )

I know we can do it by taking transpose but is there any way to do it without using tf.Transpose.