torch-mlir/lib/Conversion
Yi Zhang 05c4dd8e39 Add convertScalarToDtype helper.
This is to facilitate scalar type conversion in the TorchToLinalg. As
part of adding the helper, this PR also:
- Updated `AtenAddTensorOp`, `AtenSubTensorOp` to use the helpers to
support more type variants.
- Added e2e type promotion testing.
- Added i32 memref return/arg type to support e2e testing.
2021-11-08 17:50:52 -05:00
..
TorchToLinalg Add convertScalarToDtype helper. 2021-11-08 17:50:52 -05:00
TorchToSCF Add a basic TOSA E2E backend. 2021-10-08 09:59:45 -07:00
TorchToStd Update llvm-project to a54f4eae0e1d0ef5adccdcf9f6c2b518dc1101aa 2021-10-18 13:36:42 -04:00
TorchToTosa [tosa] Add Torch.sigmoid fp32 to TOSA (#386) 2021-10-28 10:09:12 -07:00
CMakeLists.txt Add a basic TOSA E2E backend. 2021-10-08 09:59:45 -07:00
PassDetail.h Dual license the torch-mlir project. 2021-10-01 10:46:08 -07:00
Passes.cpp Add a basic TOSA E2E backend. 2021-10-08 09:59:45 -07:00