Why torch.FloatTensor([[[0,1,2],[3,4,5]],[[6,7,8],[9,10,11]]]) size is [2,2,3]?
&gt;&gt;&gt; ft = torch.FloatTensor([[[0,1,2],[3,4,5]],[[6,7,8],[9,10,11]]])
&gt;&gt;&gt; print(ft.shape)
torch.Size([2, 2, 3])


I can't understand this result.
I think the torch size should be [2,3,2], but the result is [2,2,3].

Because

len([[[0,1,2],[3,4,5]],[[6,7,8],[9,10,11]]]) = 2


This is the first 2.
and each item inside:

len([[0,1,2],[3,4,5]]) = 2


This is the second 2. 

and each item inside:

len([0,1,2]) = 3


This is the 3.
