mirror of https://github.com/llvm/torch-mlir
ed4ecb072f
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. |
||
---|---|---|
.. | ||
CAPI | ||
Conversion | ||
Dialect | ||
RefBackend | ||
python | ||
CMakeLists.txt | ||
lit.cfg.py | ||
lit.site.cfg.py.in |