pytorch/torch/cuda
ProGamerGov 357b7d589c Fix docstring inconsistencies: string -> str, boolean -> bool (#82410)
### Description

Throughout the PyTorch docs and codebase, the `string` type in docstrings is referred to by two separate names. This leads to inconsistent docs, like you can see here: https://pytorch.org/docs/stable/generated/torch.nn.Conv3d.html#torch.nn.Conv3d

This PR fixes this issue by ensuring that all mentions of the string type in docstrings, are using the same format that Sphinx generates hyperlinks for.

### Testing
No testing should be required for this change

Pull Request resolved: https://github.com/pytorch/pytorch/pull/82410
Approved by: https://github.com/jbschlosser
2022-07-28 21:29:57 +00:00
..
amp Resolve TODO after Python 2 for custom_fwd (#78592) 2022-06-01 05:17:41 +00:00
__init__.py Restore old names for private funcs in legacy storages (#77861) 2022-05-20 02:03:34 +00:00
_dynamo_graphs.py cudagraphs dynamo backend (#80566) 2022-07-22 14:06:07 +00:00
_utils.py
comm.py
error.py
graphs.py Revert "[CUDA graphs] Clear autocast amp cache (#81558)" 2022-07-21 12:46:36 +00:00
jiterator.py Fix docstring inconsistencies: string -> str, boolean -> bool (#82410) 2022-07-28 21:29:57 +00:00
memory.py fixed return type for cuda.memory.mem_get_info() (#81073) 2022-07-14 04:21:59 +00:00
nccl.py
nvtx.py Fix docstring inconsistencies: string -> str, boolean -> bool (#82410) 2022-07-28 21:29:57 +00:00
profiler.py
random.py
sparse.py
streams.py Correct super class name (#81507) 2022-07-18 16:26:50 +00:00