torch-mlir/lib/Dialect/Torch/Transforms
Ramiro Leal-Cavazos 56c6e3676b Fix bug in NumToTensor handling of float values
This commit fixes a type promotion bug when NumToTensor was given a
float as an argument. In particular, the rules for type promotion of a
scalar vary depending on if the scalar is part of a tensor op or
not. NumToTensor falls under the second category, but it was being
treated as part of the first category.
2021-11-23 11:47:44 -05:00
..
AdjustCallingConventions.cpp Add support for multiple return values 2021-11-16 21:07:45 -05:00
CMakeLists.txt E2e support for aten.softmax.int and aten.embedding 2021-10-18 17:57:45 -04:00
DecomposeComplexOps.cpp Refactor to share code in DecomposeComplexOps pass 2021-11-20 00:39:34 +05:30
GlobalizeObjectGraph.cpp Dual license the torch-mlir project. 2021-10-01 10:46:08 -07:00
InlineGlobalSlots.cpp Dual license the torch-mlir project. 2021-10-01 10:46:08 -07:00
MaximizeValueSemantics.cpp [TORCH][MLIR] Add E2E support for aten::to.dtype. 2021-11-08 12:56:03 -05:00
PassDetail.h Dual license the torch-mlir project. 2021-10-01 10:46:08 -07:00
Passes.cpp Add support for multiple return values 2021-11-16 21:07:45 -05:00
PrepareForGlobalizeObjectGraph.cpp Dual license the torch-mlir project. 2021-10-01 10:46:08 -07:00
ReduceOpVariants.cpp Dual license the torch-mlir project. 2021-10-01 10:46:08 -07:00
RefinePublicReturn.cpp Dual license the torch-mlir project. 2021-10-01 10:46:08 -07:00
RefineTypes.cpp Fix bug in NumToTensor handling of float values 2021-11-23 11:47:44 -05:00