Modules note v2 (#63963)
authorJoel Schlosser <jbschlosser@fb.com>
Fri, 27 Aug 2021 18:28:03 +0000 (11:28 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Fri, 27 Aug 2021 18:30:18 +0000 (11:30 -0700)
commit196fd3ee7ae7d053803e4f03a37ddd00ee3fd433
tree8a698df27b1ffe81ba2d5307be50fc0b744d5d69
parent19c1b45f25af32fc6f6d6da315f0055ab7e30222
Modules note v2 (#63963)

Summary:
This PR expands the [note on modules](https://pytorch.org/docs/stable/notes/modules.html) with additional info for 1.10.

It adds the following:
* Examples of using hooks
* Examples of using apply()
* Examples for ParameterList / ParameterDict
* register_parameter() / register_buffer() usage
* Discussion of train() / eval() modes
* Distributed training overview / links
* TorchScript overview / links
* Quantization overview / links
* FX overview / links
* Parametrization overview / link to tutorial

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

Reviewed By: albanD

Differential Revision: D30606604

Pulled By: jbschlosser

fbshipit-source-id: c1030b19162bcb5fe7364bcdc981a2eb6d6e89b4
docs/source/notes/modules.rst