pytorch/torch/nn/utils
Yuanyuan Chen f91899ca6c [2/N] Add strict parameter to Python zip calls (#166257)
This PR adds `strict=True/False` to zip calls in test utils. strict=True is passed when possible.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/166257
Approved by: https://github.com/janeyx99
2025-11-01 00:35:41 +00:00
..
_expanded_weights [2/N] Add strict parameter to Python zip calls (#166257) 2025-11-01 00:35:41 +00:00
__init__.py [RFC] Add pyrefly to lintrunner (#165179) 2025-10-16 20:07:09 +00:00
_deprecation_utils.py Fix flake8 B028 warnings (#166224) 2025-10-26 06:18:55 +00:00
_named_member_accessor.py [2/N] Add strict parameter to Python zip calls (#166257) 2025-11-01 00:35:41 +00:00
_per_sample_grad.py [BE][PYFMT] migrate PYFMT for {torch,test}/{nn,optim}/** to ruff format (#144548) 2025-06-14 11:27:04 +00:00
clip_grad.py Fix error suppression syntax in utils and nn (#166242) 2025-10-26 05:21:07 +00:00
convert_parameters.py [5/N] Apply Ruff fixes and pyupgrade to Python 3.9 (#144205) 2025-01-15 04:00:47 +00:00
fusion.py [BE][PYFMT] migrate PYFMT for {torch,test}/{nn,optim}/** to ruff format (#144548) 2025-06-14 11:27:04 +00:00
init.py
memory_format.py Fix error suppression syntax in utils and nn (#166242) 2025-10-26 05:21:07 +00:00
parametrizations.py Fix error suppression syntax in utils and nn (#166242) 2025-10-26 05:21:07 +00:00
parametrize.py Fix error suppression syntax in utils and nn (#166242) 2025-10-26 05:21:07 +00:00
prune.py [3/N] fix typo in other folders (#166606) 2025-10-30 10:30:40 +00:00
rnn.py [2/N] Add strict parameter to Python zip calls (#166257) 2025-11-01 00:35:41 +00:00
spectral_norm.py Fix error suppression syntax in utils and nn (#166242) 2025-10-26 05:21:07 +00:00
stateless.py Fix self assignment (#165816) 2025-10-18 18:51:52 +00:00
weight_norm.py [BE][PYFMT] migrate PYFMT for {torch,test}/{nn,optim}/** to ruff format (#144548) 2025-06-14 11:27:04 +00:00