pytorch/torch/_dynamo/backends
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
..
__init__.py
common.py [10/N] Apply ruff UP035 rule (#165709) 2025-10-25 00:20:13 +00:00
cudagraphs.py Fix error suppression syntax in onnx, jit, _dynamo (#166249) 2025-10-27 02:01:54 +00:00
debugging.py Use 'is' in callable comparisons (#166624) 2025-10-30 19:00:09 +00:00
distributed.py [10/N] Apply ruff UP035 rule (#165709) 2025-10-25 00:20:13 +00:00
inductor.py typing inductor and placeholder backends (#160366) 2025-08-15 02:09:31 +00:00
onnxrt.py typing inductor and placeholder backends (#160366) 2025-08-15 02:09:31 +00:00
registry.py [10/N] Apply ruff UP035 rule (#165709) 2025-10-25 00:20:13 +00:00
tensorrt.py typing inductor and placeholder backends (#160366) 2025-08-15 02:09:31 +00:00
torchxla.py [10/N] Apply ruff UP035 rule (#165709) 2025-10-25 00:20:13 +00:00
tvm.py Fix error suppression syntax in onnx, jit, _dynamo (#166249) 2025-10-27 02:01:54 +00:00