Modernizes add and mul documentation (#63309)
authorMike Ruberry <mruberry@fb.com>
Thu, 19 Aug 2021 19:41:42 +0000 (12:41 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Thu, 19 Aug 2021 19:49:30 +0000 (12:49 -0700)
commitefd70b7ce6b2d3c000494ce5e527198637db5bc9
tree6f851f14a49382baee7b9067729ef36cd6d320c0
parentd986d4bf6354bc02d5e68eaaea60b02234a4449f
Modernizes add and mul documentation (#63309)

Summary:
Fixes https://github.com/pytorch/pytorch/issues/39329.

The documentation for torch.add and torch.mul was sorely out of date and even included deprecated references. This PR modernizes their descriptions consistent with torch.sub.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/63309

Reviewed By: ngimel

Differential Revision: D30338004

Pulled By: mruberry

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