-
Notifications
You must be signed in to change notification settings - Fork 27.4k
Open
Labels
module: deprecationmodule: numpyRelated to numpy support, and also numpy compatibility of our operatorsRelated to numpy support, and also numpy compatibility of our operatorstriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module
Description
PyTorch's torch.transpose swaps two dimensions in a tensor, while NumPy's np.transpose permutes the dimensions of its input, like PyTorch's torch.Tensor.permute does.
The NumPy community seems uninterested in offering a "permute" alias for np.transpose.
Numpy's np.transpose is a top 100 NumPy function, and torch.transpose is also popular with thousands of uses within Facebook.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
module: deprecationmodule: numpyRelated to numpy support, and also numpy compatibility of our operatorsRelated to numpy support, and also numpy compatibility of our operatorstriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module