pytorch/torch/ao/quantization/quantizer
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
composable_quantizer.py [BE][PYFMT] migrate PYFMT for torch/ao/ to ruff format (#148185) 2025-06-14 16:47:04 +00:00
embedding_quantizer.py Use 'is' in callable comparisons (#166624) 2025-10-30 19:00:09 +00:00
quantizer.py [4/N] Apply ruff UP035 rule to python code (#164206) 2025-10-01 19:05:53 +00:00
utils.py [4/N] Apply ruff UP035 rule to python code (#164206) 2025-10-01 19:05:53 +00:00
x86_inductor_quantizer.py Use 'is' in callable comparisons (#166624) 2025-10-30 19:00:09 +00:00
xnnpack_quantizer_utils.py Fix pyrelfy ignore syntax in distributions and ao (#166248) 2025-10-26 22:13:48 +00:00
xnnpack_quantizer.py Revert "[Code Clean] Clean asserts in torch/ao/quantization (root, quantizer, backend_config) (#165433)" 2025-10-21 22:10:19 +00:00
xpu_inductor_quantizer.py Use 'is' in callable comparisons (#166624) 2025-10-30 19:00:09 +00:00