mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 00:21:07 +01:00
Applies the remaining flake8-comprehension fixes and checks. This changes replace all remaining unnecessary generator expressions with list/dict/set comprehensions which are more succinct, performant, and better supported by our torch.jit compiler. It also removes useless generators such as 'set(a for a in b)`, resolving it into just the set call. Pull Request resolved: https://github.com/pytorch/pytorch/pull/94676 Approved by: https://github.com/ezyang |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| apply_categories.py | ||
| categorize.py | ||
| commitlist.py | ||
| common.py | ||
| namespace_check.py | ||
| requirements.txt | ||
| test_release_notes.py | ||