torch-mlir/lib/Conversion/TorchToLinalg
Vivek Khandelwal 13383b03b8 [MLIR][TORCH] Add value tensor variant to aten::copy_ op
This commit adds the op `ValsemVariantAtenCopyOp` that represents
`AtenCopy_Op` without the underscore. This is needed to make sure
that the `ReduceOpVariants` pass turns the in-place op into an op
that takes value tensors as inputs, otherwise the
`MaximizeValueSemantics` pass will not be able to add value
semantics correctly.

This commit also adds the lowering of `ValsemVariantAtenCopyOp`.

Signed-Off By: Vivek Khandelwal <vivek@nod-labs.com>
2022-03-21 19:12:37 +05:30
..
CMakeLists.txt Split up TorchToLinalg.cpp 2022-03-14 10:19:41 -07:00
DataMovement.cpp [MLIR][TORCH] Add value tensor variant to aten::copy_ op 2022-03-21 19:12:37 +05:30
IndirectDataMovement.cpp Split up TorchToLinalg.cpp 2022-03-14 10:19:41 -07:00
Linear.cpp Split up TorchToLinalg.cpp 2022-03-14 10:19:41 -07:00
Pooling.cpp Split up TorchToLinalg.cpp 2022-03-14 10:19:41 -07:00
PopulatePatterns.h Split up TorchToLinalg.cpp 2022-03-14 10:19:41 -07:00
Random.cpp Improve "pseudo" op terminology. 2022-03-15 17:57:52 -07:00
Reduction.cpp Split up TorchToLinalg.cpp 2022-03-14 10:19:41 -07:00
TensorConstructors.cpp Improve "pseudo" op terminology. 2022-03-15 17:57:52 -07:00
TensorScalarInterop.cpp Split up TorchToLinalg.cpp 2022-03-14 10:19:41 -07:00
TorchToLinalg.cpp Bump LLVM at 8361c5da30588d3d4a48eae648f53be1feb5cfad 2022-03-18 13:16:14 -04:00
Uncategorized.cpp [TORCH][MLIR] Fix the return types of `aten.native_layer_norm`. 2022-03-17 12:08:32 +05:30
Utils.cpp Split up TorchToLinalg.cpp 2022-03-14 10:19:41 -07:00
Utils.h Split up TorchToLinalg.cpp 2022-03-14 10:19:41 -07:00