mirror of https://github.com/llvm/torch-mlir
e6675a50d3
Many reduction ops take as an argument an optional output dtype that can change the type of the input tensor before the reduction is performed. This commit adds support for the optional dtype flag that had been previously ignored. Test: /tools/torchscript_e2e_test.sh -f 'ReduceSumDtype' /tools/torchscript_e2e_test.sh -f 'ReduceSumDImIntListDtype' |
||
---|---|---|
.. | ||
TorchToLinalg | ||
TorchToSCF | ||
TorchToStd | ||
TorchToTosa | ||
CMakeLists.txt | ||
PassDetail.h | ||
Passes.cpp |