pytorch/torch/nn/utils
Joel Schlosser 5e93abe3c0 Address docs for clip_grad functions (#155125)
This PR takes the opinionated stance that `torch.nn.utils.<func>` should be the preferred API over `torch.nn.utils.clip_grad.<func>`.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/155125
Approved by: https://github.com/albanD, https://github.com/mikaylagawarecki, https://github.com/janeyx99
2025-06-05 19:22:09 +00:00
..
_expanded_weights remove allow-untyped-defs from torch/nn/utils/_expanded_weights/conv_expanded_weights.py (#154623) 2025-05-30 07:32:57 +00:00
__init__.py
_deprecation_utils.py
_named_member_accessor.py
_per_sample_grad.py
clip_grad.py Address docs for clip_grad functions (#155125) 2025-06-05 19:22:09 +00:00
convert_parameters.py
fusion.py
init.py
memory_format.py [BE]: Remove redundant copy (#153629) 2025-05-19 08:25:20 +00:00
parametrizations.py
parametrize.py BE: Type previously untyped decorators (#154515) 2025-05-29 00:36:34 +00:00
prune.py fix numpy compatibility for 2d small list indices (#154806) 2025-06-04 01:58:52 +00:00
rnn.py
spectral_norm.py
stateless.py
weight_norm.py