torch-mlir/lib/Conversion
Ramiro Leal-Cavazos d849cbad14
Make `getTypeForScalarType` safer by returning `FailureOr<Type>` (#1814)
One of the potential values for a `torch_upstream::ScalarType` is
`Undefined`. This means that conversion of a `ScalarType` to another
type is a computation that can fail. To enforce handling of the
failure case, this commit makes the two helper functions that convert
`ScalarType`s into other types return `failure()` when the
`ScalarType` is `Undefined`.
2023-01-20 18:40:13 +00:00
..
TorchConversionToMLProgram [MLIR][TORCH] Add TorchConversionToMLProgram and MLProgramBufferize pass 2022-12-02 13:20:46 +05:30
TorchToArith build: update llvm tag to 798fa4b4 (#1684) 2022-12-07 12:20:41 -08:00
TorchToLinalg Make `getTypeForScalarType` safer by returning `FailureOr<Type>` (#1814) 2023-01-20 18:40:13 +00:00
TorchToMhlo [MHLO] simplify aten.frobenius_norm.dim's lowering (#1800) 2023-01-17 13:52:12 -08:00
TorchToSCF build: update llvm tag to 798fa4b4 (#1684) 2022-12-07 12:20:41 -08:00
TorchToTMTensor build: update llvm tag to 7ccbb4df (#1736) 2022-12-20 18:17:27 +08:00
TorchToTosa [TOSA] Add aten.Index.Tensor support (#1771) 2023-01-19 21:19:00 -08:00
Utils [TOSA] Add aten.gather support for tosa (#1680) 2022-12-21 11:04:07 -08:00
CMakeLists.txt build: update llvm tag to de3f0f7f (#1789) 2023-01-10 17:07:19 -06:00
PassDetail.h llvm: bump tag to e1318078 (#781) 2022-04-26 12:27:51 -07:00
Passes.cpp build: update llvm tag to de3f0f7f (#1789) 2023-01-10 17:07:19 -06:00