mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 00:20:18 +01:00
This is follow-up of #164695 to apply ruff SIM rules to more files. Most changes are about simplifying dict.get because None is already the default value. Pull Request resolved: https://github.com/pytorch/pytorch/pull/165031 Approved by: https://github.com/mlazos |
||
|---|---|---|
| .. | ||
| _functions | ||
| __init__.py | ||
| anomaly_mode.py | ||
| forward_ad.py | ||
| function.py | ||
| functional.py | ||
| grad_mode.py | ||
| gradcheck.py | ||
| graph.py | ||
| profiler_legacy.py | ||
| profiler_util.py | ||
| profiler.py | ||
| variable.py | ||