pytorch/torch/quantization
mattip f10fbcc820 Split up documentation into subpages and clean up some warnings (#37419)
Summary:
xref gh-32838, gh-34032

This is a major refactor of parts of the documentation to split it up using sphinx's `autosummary` feature which will build out `autofuction` and `autoclass` stub files and link to them. The end result is that the top module pages like torch.nn.rst and torch.rst are now more like table-of-contents to the actual single-class or single-function documentations pages.

Along the way, I modified many of the docstrings to eliminate sphinx warnings when building. I think the only thing I changed from a non-documentation perspective is to add names to `__all__` when adding them to `globals()` in `torch.__init__.py`

I do not know the CI system: are the documentation build artifacts available after the build, so reviewers can preview before merging?
Pull Request resolved: https://github.com/pytorch/pytorch/pull/37419

Differential Revision: D21337640

Pulled By: ezyang

fbshipit-source-id: d4ad198780c3ae7a96a9f22651e00ff2d31a0c0f
2020-05-04 09:39:22 -07:00
..
__init__.py Ignore F401 in all __init__.py without putting noqa (#25823) 2019-10-23 15:28:13 -07:00
_numeric_suite.py [PyTorch Numeric Suite] Add module output comparison (#36701) 2020-05-03 00:04:35 -07:00
_quantize_script.py [quant][graph] Add check for qconfig_dict key (#37014) 2020-04-28 21:35:17 -07:00
default_mappings.py [PyTorch Numeric Suite] Add module output comparison (#36701) 2020-05-03 00:04:35 -07:00
fake_quantize.py Per channel quantization performance improvement (#33772) 2020-02-26 10:19:25 -08:00
fuse_modules.py [quant] Enable fusion for conv modules with bias (#36173) 2020-04-08 15:53:32 -07:00
observer.py Split up documentation into subpages and clean up some warnings (#37419) 2020-05-04 09:39:22 -07:00
qconfig.py [quant][graph] Add a new observer type for dynamic quantization (#35455) 2020-03-26 17:38:21 -07:00
quantize.py [PyTorch Numeric Suite] Add module output comparison (#36701) 2020-05-03 00:04:35 -07:00
stubs.py Factored out the default mappings 2019-10-03 11:52:21 -07:00