permute Returns a view of the original tensor input with its dimensions permuted. It can exchange all dimentions. torch.randn(2, 3, 5) --> permute(2,0,1) --> 5, 2, 3 x = torch.randn(2, 3, 5) >>> tensor([[[-1.7663, 1.2394, -0.4237, -2.3218, 0.1908], [ 1.6466, 0.8089, -2.2276, -0.5936, 2.8272], [ 0.8317, 0.9335, -1.3993, -0.3371, 1.3174]], [[ 0.5403, -0.4540, -0.5958, 0.4685, 0.5951], [ 0.9191, 0...