torch.Tensor.transpose() swaps two dimensions, while permute() is a generalized operation that allows you to specify the order of all axes
torch tensor.permute()
Creator
Creator
Seonglae ChoCreated
Created
2025 Oct 29 11:36Editor
Editor
Seonglae ChoEdited
Edited
2025 Oct 29 12:36Refs
Refs
Pytorch tensor.T 