On printing the shape of images[idx] I find the shape is reversed
Output:
torch.Size([1, 28, 28])
(28, 28, 1)
However if I put a transpose command
images[idx].transpose(1, 2, 0)
so which 2 positional arguments should I give