fix typo in `torch.sum` documentation (#14250)
authorBrennan Vincent <btv@fb.com>
Tue, 27 Nov 2018 00:34:47 +0000 (16:34 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Tue, 27 Nov 2018 00:36:52 +0000 (16:36 -0800)
commit1ca0ec7299b9352123a07525320a04e39d657781
tree5fabd46866517b3fedcc38eed87fa3513bea0b0a
parentcef23a4b1d672124034ab6d0d9b0829b26e3f1f3
fix typo in `torch.sum` documentation (#14250)

Summary:
Notice that an extra colon was added to `:attr:`, so in https://pytorch.org/docs/stable/torch.html#torch.sum , `dim` shows up as ":attr::_dim_". This patch fixes the issue.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/14250

Reviewed By: soumith

Differential Revision: D13146363

Pulled By: umanwizard

fbshipit-source-id: f7d03dcb0973aae248b56ab407ba8489f2b1fe36
torch/_torch_docs.py