torch-mlir/lib/Dialect/Torch/IR
Gaurav Shukla a83004c806 [TORCH][MLIR] Fold trivial cases of `aten.to.dtype` and `aten.view` op
- It folds `aten.to.dtype` when the input tensor type and result type
  are exactly same.
- It folds `aten.view` when the rank of both the input tensor type and
  result type is unity.

Signed-Off-by: Gaurav Shukla <gaurav@nod-labs.com>
2021-12-24 13:32:34 +05:30
..
CMakeLists.txt Move external/torch-mlir to the root of the repo. 2021-09-27 17:11:08 -07:00
TorchDialect.cpp Update external llvm to 966b72098363d44adf2882b9c34 2021-12-06 23:33:58 +05:30
TorchOps.cpp [TORCH][MLIR] Fold trivial cases of `aten.to.dtype` and `aten.view` op 2021-12-24 13:32:34 +05:30
TorchTypes.cpp Update llvm upstream to 0b17336f793108a7b10c3fa913039144ef1d0f61 2021-11-16 13:04:51 -05:00