pytorch
3ce1ebb6 - Apply some safe comprehension optimizations (#94323)

Commit
1 year ago
Apply some safe comprehension optimizations (#94323) Optimize unnecessary collection cast calls, unnecessary calls to list, tuple, and dict, and simplify calls to the sorted builtin. This should strictly improve speed and improve readability. Pull Request resolved: https://github.com/pytorch/pytorch/pull/94323 Approved by: https://github.com/albanD
Author
Committer
Parents
Loading