pytorch/torch/ao/ns
Yuanyuan Chen 694db5f549 Use 'is' in callable comparisons (#166624)
Just like we use `is/is not` for class comparisons, it is generally advised to use `is/is not` for comparisons against torch functions.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/166624
Approved by: https://github.com/Lucaskabela, https://github.com/Skylion007
2025-10-30 19:00:09 +00:00
..
fx Use 'is' in callable comparisons (#166624) 2025-10-30 19:00:09 +00:00
__init__.py
_numeric_suite_fx.py [Code Clean]Replace assert statements with explicit if/raise patterns (#165735) 2025-10-21 11:21:57 +00:00
_numeric_suite.py [1/N] Remove unused loop variables (#166258) 2025-10-30 12:22:25 +00:00