torch-mlir/lib
Christopher McGirr b461daa06e
fix(TorchToTosa.cpp): adjust torch->tosa div conversion (#2200)
check the return type of the division to figure out whether to use
the floating point implementation of a division or to use the integer.

the issue rose from the fact that the inputs are all integer but the
result was casted to floating point. The conversion then chose to
use the integer implementation of division which is not legal in tosa
when all the inputs get casted to floating point.

fix(TorchToLinalg): AtenDivScalarOp

upcast self operand as well if applicable, the self operand must also
be casted to float as it can be an integer.
2023-06-12 11:18:38 +02:00
..
CAPI [CAPI] add isValidSubtype to CAPI (#2127) 2023-05-13 22:15:45 -05:00
Conversion fix(TorchToTosa.cpp): adjust torch->tosa div conversion (#2200) 2023-06-12 11:18:38 +02:00
Dialect Support aten.sign (#2205) 2023-06-10 20:45:35 +02:00
RefBackend Add complex dtype support on refbackend 2023-05-11 21:29:07 +05:30
CMakeLists.txt mhlo: migrate conversion to stablehlo (#1840) 2023-02-02 07:29:47 -06:00
InitAll.cpp [Stablehlo] add e2e test for aten.batch_norm (#2129) 2023-05-17 09:04:40 -07:00