[docs] fix torch.swap{dim/axes} to showup in docs (#48376)
Summary:
Fixes https://github.com/pytorch/pytorch/issues/48372
Verified locally that it is generated
![Screenshot from 2020-11-22 20-38-15](https://user-images.githubusercontent.com/19503980/99907517-298a1880-2d03-11eb-9a8f-9809609c2d2d.png)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/48376
Reviewed By: ngimel
Differential Revision: D25176483
Pulled By: mruberry
fbshipit-source-id: 911b57d43319059cc9f809ea0396c3740ff81ff5