pytorch/torchgen
cyy 7423092227 [TorchGen] [2/N] Remove unused variables and simplify dictionary iterations (#122585)
This PR continues to remove unused variables and simplifies dictionary iterations from TorchGen scripts, following #122576.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/122585
Approved by: https://github.com/ezyang
2024-03-29 20:34:11 +00:00
..
api [TorchGen] [2/N] Remove unused variables and simplify dictionary iterations (#122585) 2024-03-29 20:34:11 +00:00
decompositions Use strict to toggle strict options in MYPYSTRICT (#118479) 2024-01-28 19:22:22 +00:00
dest [TorchGen] Use std::optional in generated code (#121454) 2024-03-29 14:11:09 +00:00
executorch [TorchGen] Use std::optional in generated code (#121454) 2024-03-29 14:11:09 +00:00
fuse_attention_patterns Use strict to toggle strict options in MYPYSTRICT (#118479) 2024-01-28 19:22:22 +00:00
operator_versions [BE]: Update Ruff to 0.0.280 (#105724) 2023-07-22 23:03:34 +00:00
selective_build [BE] f-stringify torch/ and scripts (#105538) 2023-07-21 19:35:24 +00:00
shape_functions [JIT SSA] Allow updating shape functions without recompilation (#83629) 2022-08-22 18:03:44 +00:00
static_runtime [BE]: ruff apply rule PLW1510 to find silent subprocess errors (#113644) 2023-11-14 20:59:40 +00:00
__init__.py Package config/template files with torchgen (#78942) 2022-06-07 13:33:55 +00:00
BUCK.oss rename BUILD.buck to BUCK.oss (#78792) 2022-06-03 07:23:16 +00:00
BUILD.bazel
build.bzl update rules_python and let bazel install its own pip dependencies (#101405) 2023-05-23 06:20:33 +00:00
code_template.py [BE] Enable ruff's UP rules and autoformat torchgen/ (#105423) 2023-07-18 06:44:20 +00:00
context.py [Specialized Kernel] Propagate Specialized Kernel Support through ComputeCodegenUnboxedKernels (#103113) 2023-06-14 10:18:16 +00:00
gen_aoti_c_shim.py [TorchGen] [2/N] Remove unused variables and simplify dictionary iterations (#122585) 2024-03-29 20:34:11 +00:00
gen_backend_stubs.py [TorchGen] [2/N] Remove unused variables and simplify dictionary iterations (#122585) 2024-03-29 20:34:11 +00:00
gen_executorch.py [TorchGen] [2/N] Remove unused variables and simplify dictionary iterations (#122585) 2024-03-29 20:34:11 +00:00
gen_functionalization_type.py Remove semicolon after return_from_mutable_noop_redispatch (#118538) 2024-01-30 02:22:42 +00:00
gen_lazy_tensor.py [TorchGen] Use std::optional in generated code (#121454) 2024-03-29 14:11:09 +00:00
gen_vmap_plumbing.py [TorchGen] [2/N] Remove unused variables and simplify dictionary iterations (#122585) 2024-03-29 20:34:11 +00:00
gen.py [TorchGen] [2/N] Remove unused variables and simplify dictionary iterations (#122585) 2024-03-29 20:34:11 +00:00
local.py Change API type Tensor[] for structured kernels. (#73350) 2022-09-26 21:46:38 +00:00
model.py [TorchGen] [2/N] Remove unused variables and simplify dictionary iterations (#122585) 2024-03-29 20:34:11 +00:00
native_function_generation.py Proper view support for jagged layout NestedTensor (#113279) 2024-03-22 02:12:36 +00:00
utils.py [BE]: Apply RUF025 dict.fromkeys preview rule (#118637) 2024-01-30 20:46:54 +00:00
yaml_utils.py [Reland] Update mypy to 1.4.1 (#105227) 2023-07-15 20:30:20 +00:00