title: Reshaping order in PyTorch - Fortran-like index ordering
body: <p>In numpy, there is an ordering feature for reshaping arrays, by default it is C, but you can specify other ordering like F:</p>
  <pre><code>a = np.arange(6).reshape((3, 2))
  f = np.reshape(a, (2, 3), order='F') # Fortran-like index ordering
  c = np.reshape(a, (2, 3)) 
  print('a= \n', a)
  print('f= \n', b)
  print('c= \n', c)
  </code></pre>
  <p>the result:</p>
  <pre><code>a= 
   [[0 1]
   [2 3]
   [4 5]]
  f= 
   [[0 4 3]
   [2 1 5]]
  c= 
   [[0 1 2]
   [3 4 5]]
  </code></pre>
  <p>There is no such option in torch.reshape or tensor.view for reshaping in F order.
  Is there any way to do that F order reshape in PyTorch? I need everything to be in PyTorch.</p>