pytorch
68a3a3f3 - Add `torch.swapdims` and `torch.swapaxes` (#46041)

Commit
4 years ago
Add `torch.swapdims` and `torch.swapaxes` (#46041) Summary: Reference https://github.com/pytorch/pytorch/issues/38349 Delegates to `torch.transpose` (not sure what is the best way to alias) TODO: * [x] Add test * [x] Add documentation Pull Request resolved: https://github.com/pytorch/pytorch/pull/46041 Reviewed By: gchanan Differential Revision: D25022816 Pulled By: mruberry fbshipit-source-id: c80223d081cef84f523ef9b23fbedeb2f8c1efc5
Author
Parents
Loading