So im using torch.transpose 818, but it sounds like i cannot not quite understand how it works.
lets say i have:
M = torch.Tensor([[[1, 2, 3], [4, 5, 6]],[[10, 20, 30], [40, 50, 60]]])
print(M)
(0 ,.,.) = 
   1   2   3
  10  20  30
(1 ,.,.) = 
   4   5   6
  40  50  60
[torch.FloatTensor of size 2x2x3]

Now I do:
M2 = torch.transpose(M, 0, 1)
which is swiping the the dimension 1 with 0 and gives me:
(0 ,.,.) = 
   1   2   3
  10  20  30
(1 ,.,.) = 
   4   5   6
  40  50  60
[torch.FloatTensor of size 2x2x3]

so far so good. but why when i do M2 = torch.transpose(M, 1, 0) is still gives me the same results and NOT:
(0 ,.,.) = 
  10  20  30
  1   2   3
(1 ,.,.) = 
  40  50  60
   4   5   6
[torch.FloatTensor of size 2x2x3]

???
After all, can anyone please tell me how I can get the latest representation?