mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 12:21:27 +01:00
Everything here is a grep except the changes in tools/autograd/load_derivatives.py which I manually corrected.
The correct notation is:
```
Example::
>>> ...
```
It is common and wrong to have:
```
Example::
>>> ...
```
In the wrong example, we get these pesky double colons:

Pull Request resolved: https://github.com/pytorch/pytorch/pull/153978
Approved by: https://github.com/soulitzer, https://github.com/malfet
|
||
|---|---|---|
| .. | ||
| templates | ||
| __init__.py | ||
| BUILD.bazel | ||
| build.bzl | ||
| context.py | ||
| deprecated.yaml | ||
| derivatives.yaml | ||
| gen_annotated_fn_args.py | ||
| gen_autograd_functions.py | ||
| gen_autograd.py | ||
| gen_inplace_or_view_type.py | ||
| gen_python_functions.py | ||
| gen_trace_type.py | ||
| gen_variable_factories.py | ||
| gen_variable_type.py | ||
| gen_view_funcs.py | ||
| load_derivatives.py | ||
| README.md | ||
If you add a file to this directory, you MUST update
torch/CMakeLists.txt and add the file as a dependency to
the add_custom_command call.