What does it mean in the transpose method:
“dim0 - the first dimension to be transposed”
“dim1 - the second dimension to be transposed”
which values do they get?
a = torch.tensor(np.arange(1,7).reshape(2,3))
print(a)
b = torch.transpose(c,0,1)
print(b)

and
a = torch.tensor(np.arange(1,7).reshape(2,3))
print(a)
b = torch.transpose(c,1,0)
print(b)

are the same and is the known transpose row to column and vice-versa (A_ij=A_ji)
but
a = torch.tensor(np.arange(1,7).reshape(2,3))
print(a)
b = torch.transpose(c,1,1)
print(b)

and
a = torch.tensor(np.arange(1,7).reshape(2,3))
print(a)
b = torch.transpose(c,0,0)
print(b)

do nothing.
Thanks