pytorch/torch/testing/_internal/opinfo
Yuanyuan Chen 70925bdf82 [1/N] Use "is" in python type comparison (#165037)
It generally recommended to use `is/is not` to compare types. Therefore this series of changes apply this suggestion in the code base, and it aims to finally enabling related linter checks.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/165037
Approved by: https://github.com/mlazos
2025-10-10 12:36:50 +00:00
..
definitions [1/N] Use "is" in python type comparison (#165037) 2025-10-10 12:36:50 +00:00
__init__.py
core.py [6/N] Apply ruff UP035 rule (#164438) 2025-10-03 00:15:32 +00:00
refs.py
utils.py [BE][6/16] fix typos in torch/ (#156316) 2025-06-23 02:57:34 +00:00