Revert "[LT] Store OpKind for each IR subclass in a static field"

This reverts commit ac37ddc79557d7a5ec184a7d2924241ccfc8a333.

Reverted https://github.com/pytorch/pytorch/pull/76711 on behalf of https://github.com/malfet
This commit is contained in:
PyTorch MergeBot
2022-05-09 20:50:09 +00:00
parent da565c07e1
commit 7eaf4780ba
56 changed files with 63 additions and 212 deletions

View File

@ -27,7 +27,6 @@ def define_targets(rules):
srcs = [
":DispatchKeyNativeFunctions.cpp",
":DispatchKeyNativeFunctions.h",
":LazyIr.cpp",
":LazyIr.h",
":RegisterDispatchKey.cpp",
":native_functions.yaml",
@ -112,7 +111,6 @@ _GENERATED_CPP = [
"torch/csrc/autograd/generated/python_torch_functions_1.cpp",
"torch/csrc/autograd/generated/python_torch_functions_2.cpp",
"torch/csrc/autograd/generated/python_variable_methods.cpp",
"torch/csrc/lazy/generated/LazyIr.cpp",
"torch/csrc/lazy/generated/LazyNativeFunctions.cpp",
"torch/csrc/lazy/generated/RegisterAutogradLazy.cpp",
"torch/csrc/lazy/generated/RegisterLazy.cpp",