Add doc for nn.MultiMarginLoss (shape, example) (#63760)
authorJonathan Chang <ttjtftx@gmail.com>
Fri, 27 Aug 2021 16:49:39 +0000 (09:49 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Fri, 27 Aug 2021 16:51:05 +0000 (09:51 -0700)
commit3abb6060910186f38fc1eef2a2169639533f0c54
tree59ef0d4b77252c21677066a32a3e67d8f2c1305d
parenta9983ac09c9772fa426224b080090083b4c9607b
Add doc for nn.MultiMarginLoss (shape, example) (#63760)

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

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

Reviewed By: malfet

Differential Revision: D30541581

Pulled By: jbschlosser

fbshipit-source-id: 99560641e614296645eb0e51999513f57dfcfa98
torch/nn/modules/loss.py