torch-mlir/test
TatWai Chong ed4ecb072f
[tosa] support lowering basic torch binary ops with mixed dtypes (#2122)
Lowering torch operations that allow different compatible data types
in its operands to tosa end up generating invalid tosa IR with mixed
data types. In tosa spec, certain operations (generally element-wise
operations) require all operands to have the same data type.

Add wrapper functions for those element-wise tosa ops to perform op
creation with type conversion if necessary.
2023-05-18 17:12:18 -07:00
..
CAPI Expose metadata of torch-mlir types (plus verify DictType key and value types). (#1785) 2023-01-16 10:25:02 -06:00
Conversion [tosa] support lowering basic torch binary ops with mixed dtypes (#2122) 2023-05-18 17:12:18 -07:00
Dialect Replace RefineTypes with dtype functions (#2105) 2023-05-12 13:40:45 -07:00
RefBackend [MLIR][TORCH] Add TorchConversionToMLProgram and MLProgramBufferize pass 2022-12-02 13:20:46 +05:30
python Fix import of constant bool tensor parameters (#2047) 2023-04-20 18:38:48 -07:00
CMakeLists.txt mhlo: migrate conversion to stablehlo (#1840) 2023-02-02 07:29:47 -06:00
lit.cfg.py Expose metadata of torch-mlir types (plus verify DictType key and value types). (#1785) 2023-01-16 10:25:02 -06:00
lit.site.cfg.py.in mhlo: migrate conversion to stablehlo (#1840) 2023-02-02 07:29:47 -06:00