Fix broken rst of torch.nn.utils.spectral_norm and others (#15995)
authorDerek Kim <bluewhale8202@gmail.com>
Mon, 14 Jan 2019 15:28:58 +0000 (07:28 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Mon, 14 Jan 2019 15:35:36 +0000 (07:35 -0800)
commit8c55e56c37d7c98be1adf6457c09647f6af802fe
treee95e464e17df6f590959922cb3b6e3cb84577a25
parent300dcc3b96b2b8672570c4c9e6038cb5cff75afd
Fix broken rst of torch.nn.utils.spectral_norm and others (#15995)

Summary:
- Currently, the [rst](https://pytorch.org/docs/stable/nn.html#torch.nn.utils.spectral_norm) looks broken, at least in my browser. So I fixed it.
- I thought a subscript may be needed to the left W in the definition.
- A few typos fixed.

crcrpar
Pull Request resolved: https://github.com/pytorch/pytorch/pull/15995

Differential Revision: D13649888

Pulled By: soumith

fbshipit-source-id: 00a2c3b043c7c8ebdd9fc2bf77ba27ae695fee3f
torch/nn/utils/spectral_norm.py