Update einsum documentation. (#16323)
authorSamuel Fadel <samuelfadel@gmail.com>
Sun, 27 Jan 2019 01:58:31 +0000 (17:58 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Sun, 27 Jan 2019 02:00:57 +0000 (18:00 -0800)
commit3c30cf323747229003929fcdf8da14acc1c2362d
treea89980cc5a0906b28ffce21de0010383d03c7375
parentde6bb3f3e393a1f837b5b99833a5fdb98350dca4
Update einsum documentation. (#16323)

Summary:
The documentation stated that operands to einsum should be a list of Tensors, not individual arguments. The function, however, now accepts individual arguments for each Tensor operand *and* a single argument consisting of a list of Tensors. The documentation was updated to reflect this change.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/16323

Differential Revision: D13832647

Pulled By: soumith

fbshipit-source-id: c01c2b350f47674d3170337f493b0ee2ea381b3f
torch/functional.py