pytorch/torch/_library
Yuanyuan Chen fb64da0791 [2/N] Use "is" in python type comparison (#165142)
This is follow-up of #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/165142
Approved by: https://github.com/albanD
2025-10-10 15:36:44 +00:00
..
__init__.py fix typo in doc and import for torch._library.triton (#144882) 2025-01-17 17:32:12 +00:00
autograd.py [5/N] Apply ruff UP035 rule (#164423) 2025-10-02 07:31:11 +00:00
custom_ops.py Add view support for library custom Function (#164520) 2025-10-09 16:17:48 +00:00
fake_class_registry.py [opaque_obj] Add make_fx tracing support (#163278) 2025-10-08 09:09:16 +00:00
fake_impl.py [5/N] Apply ruff UP035 rule (#164423) 2025-10-02 07:31:11 +00:00
fake_profile.py Pyrefly suppressions 7/n (#164913) 2025-10-08 07:27:17 +00:00
infer_schema.py [2/N] Use "is" in python type comparison (#165142) 2025-10-10 15:36:44 +00:00
opaque_object.py [opaque_obj] Add make_fx tracing support (#163278) 2025-10-08 09:09:16 +00:00
simple_registry.py [5/N] Apply ruff UP035 rule (#164423) 2025-10-02 07:31:11 +00:00
triton.py [5/N] Apply ruff UP035 rule (#164423) 2025-10-02 07:31:11 +00:00
utils.py Add view support for library custom Function (#164520) 2025-10-09 16:17:48 +00:00