torch-mlir/test/Conversion
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
..
TorchConversionToMLProgram Minor fixes for `ConvertTorchConversionToMLProgram`. (#1991) 2023-04-04 09:09:58 -07:00
TorchToArith [MLIR][TORCH] Extend implementation of aten._index_put_impl op. 2023-04-05 14:04:30 +05:30
TorchToLinalg [MLIR][TORCH] Add E2E support for aten.tril op (#2202) 2023-06-05 16:17:01 -07:00
TorchToSCF mlir: bump llvm tag to 5380e3 (#856) 2022-05-16 12:54:35 -07:00
TorchToStablehlo [Stablehlo] Add aten.uniform lowering (#2101) 2023-05-25 10:32:55 +08:00
TorchToTosa fix(TorchToTosa.cpp): adjust torch->tosa div conversion (#2200) 2023-06-12 11:18:38 +02:00