Improve example for torch.mode (#17069)
authorThomas Viehmann <tv@beamnet.de>
Fri, 15 Feb 2019 02:41:35 +0000 (18:41 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Fri, 15 Feb 2019 02:52:53 +0000 (18:52 -0800)
commit7cff803d0a09e36622f4e72e2ca2820cf9b97c52
tree63dde338ab4c8a3606bdf2774fd2291e39cce748
parent58648a19dfcfc8a27960b796cf913ca6a8960595
Improve example for torch.mode (#17069)

Summary:
This updates the example for `torch.mode` to show a case where there is a mode.
Also add a bit of a description to the explanation as well as being a bit more precise about "a" mode rather than "the" mode.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/17069

Differential Revision: D14078722

Pulled By: soumith

fbshipit-source-id: 837a238d53a9b8e868511acbdc258633975bea48
torch/_torch_docs.py