[docs] Add cross references to `torch.transpose` and `torch.t` (#63177)
authorMeghan Lele <meghanl@fb.com>
Fri, 13 Aug 2021 18:46:14 +0000 (11:46 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Fri, 13 Aug 2021 18:51:55 +0000 (11:51 -0700)
commit548fe682e28684b914dd792782a47135d40c8161
treee9c8c2be8711bbebfc6b588c14082ac460e6359f
parent7107c367b5e0c90825c1ba3bfbca1a2f84ceb066
[docs] Add cross references to `torch.transpose` and `torch.t` (#63177)

Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/63177

**Summary**
This commit adds a link in the documentation for `torch.transpose` that
directs to `torch.t` and vice versa. These two functions are related and
it is useful for users of one to know about the other.

**Test Plan**
Continuous integration.

**Fixes**
This commit fixes #56267.

Test Plan: Imported from OSS

Reviewed By: VitalyFedyunin

Differential Revision: D30292654

Pulled By: SplitInfinity

fbshipit-source-id: 8e60cd7a598ff8b4756cb30141399dfe8e118338
torch/_torch_docs.py