torch-mlir/lib/Dialect
Sambhav Jain bb47b36eac
Add a `AllowedInModuleInitializer` trait to denote ops that are permitted in the module initializer (#1379)
This PR adds an `AllowedInModuleInitializer` trait to keep track of ops that are permitted in the module initializer. We have a handful of such ops that are produced by the IValue importer, and so this change avoids maintaining a list of ops in `TorchOps.cpp` that could lead to spurious merge conflicts, and help us integrate torch-mlir in our downstream compiler better. Please let me know if you'd prefer a better name for the trait itself. Feedback is welcome!
2022-09-19 14:56:35 -07:00
..
Torch Add a `AllowedInModuleInitializer` trait to denote ops that are permitted in the module initializer (#1379) 2022-09-19 14:56:35 -07:00
TorchConversion Remove TorchLoweringPipelineOptions from TorchConversion pipelines 2022-09-14 11:20:29 -07:00
CMakeLists.txt Move external/torch-mlir to the root of the repo. 2021-09-27 17:11:08 -07:00