Commit 7633619
authored
[torch] Implement stronger verifiers for non-value semantic ops (#2519)
Attempt to solve #2490
Changes for Non Value Semantic Ops having the
`IsTrailingUnderscoreInplaceVariant` trait :
- AnyTorchTensorType -> Torch_NonValueTensorType
- AnyTorchOptionalTensorType -> AnyTorchOptionalNonValueTensorType
- AnyTorchListOfOptionalTensorType ->
AnyTorchListOfOptionalNonValueTensorType
- AnyTorchListOfTensorType -> AnyTorchListOfNonValueTensorType
Created three new tensor types for optional and list non value tensors.1 parent 0acbb26 commit 7633619
File tree
3 files changed
+266
-248
lines changed- include/torch-mlir/Dialect/Torch/IR
- python/torch_mlir/dialects/torch/importer/jit_ir/build_tools
3 files changed
+266
-248
lines changed
0 commit comments