torch-mlir/lib
Ramiro Leal-Cavazos d44bdd2728
Add `hasDtype` checks everywhere dtypes are used in decompositions (#1750)
There are several decompositions that assume the operands of the op
have dtypes available; however, the only time dtypes are guaranteed to
be present is when the graph has reached the backend contract. In
general, every pass that happens before reaching the backend contract
should not assume dtypes are available and should use `hasDtype` to
check first.

This commit adds `hasDtype` checks to every decomposition that uses
dtypes.
2023-01-03 14:19:18 -08:00
..
CAPI build: update llvm tag to 7ccbb4df (#1736) 2022-12-20 18:17:27 +08:00
Conversion Add E2E support for LeakyRelu and LeakyReluBackward ops (#1733) 2023-01-03 08:30:16 -08:00
Dialect Add `hasDtype` checks everywhere dtypes are used in decompositions (#1750) 2023-01-03 14:19:18 -08:00
RefBackend Add float16 support in the refbackend. 2022-12-15 21:19:52 +05:30
CMakeLists.txt Resolve CI testing failure for Lazy Tensor Core (#1088) 2022-07-30 09:40:02 -04:00
InitAll.cpp Resolve CI testing failure for Lazy Tensor Core (#1088) 2022-07-30 09:40:02 -04:00