pytorch/torch/nn/utils
Xuehai Pan 0daa7d4815 [test][docs] Fix doctest warnings for syntax errors (#110517)
Fixes some syntax errors in doctest find in CI tests.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/110517
Approved by: https://github.com/albanD
2023-10-05 00:00:06 +00:00
..
_expanded_weights
__init__.py
_deprecation_utils.py
_named_member_accessor.py [BE] f-stringify torch/ and scripts (#105538) 2023-07-21 19:35:24 +00:00
_per_sample_grad.py
clip_grad.py
convert_parameters.py [BE] f-stringify torch/ and scripts (#105538) 2023-07-21 19:35:24 +00:00
fusion.py
init.py [BE] Enable ruff's UP rules and autoformat nn/ mps/ and torch/ (#105436) 2023-07-21 07:38:46 +00:00
memory_format.py
parametrizations.py [BE]: Update ruff to 0.285 (#107519) 2023-08-22 23:16:38 +00:00
parametrize.py
prune.py [BE]: Update ruff to 0.285 (#107519) 2023-08-22 23:16:38 +00:00
rnn.py updated pad_sequence type hint (#108765) 2023-09-08 13:06:03 +00:00
rnn.pyi updated pad_sequence type hint (#108765) 2023-09-08 13:06:03 +00:00
spectral_norm.py [BE]: Update ruff to 0.285 (#107519) 2023-08-22 23:16:38 +00:00
stateless.py [test][docs] Fix doctest warnings for syntax errors (#110517) 2023-10-05 00:00:06 +00:00
weight_norm.py [BE]: Update Ruff to 0.0.280 (#105724) 2023-07-22 23:03:34 +00:00