torch-mlir/lib/Conversion/TorchToLinalg
mmakevic 32dbf99ce2
Implement lowering of torch.aten.all.dim (#2873)
Lowering of torch.aten.all.dim to linalg.

Per PyTorch documentation:

> This function matches the behaviour of NumPy in returning output of
dtype bool for all supported dtypes except uint8. For uint8 the dtype of
output is uint8 itself.

Since there is no support for ui8 in torch-mlir currently
(https://github.com/llvm/torch-mlir/pull/1384#issuecomment-1260011334)
implementation returns failure for that case.
2024-02-07 12:34:52 -08:00
..
CMakeLists.txt Re-organize project structure to separate PyTorch dependencies from core project. (#2542) 2023-11-02 19:45:55 -07:00
DataMovement.cpp Clang format refresh (#2812) 2024-01-29 12:59:33 -05:00
IndirectDataMovement.cpp Clang format refresh (#2812) 2024-01-29 12:59:33 -05:00
Linear.cpp [onnx] Convert `onnx.QLinearConv` to `torch` (#2851) 2024-02-05 16:09:41 -08:00
Pooling.cpp [torch] Support `!countIncludePad` when unpadded for average pool (#2836) 2024-01-31 15:09:36 -08:00
PopulatePatterns.h Re-enable custom op support 2022-08-16 22:49:08 +05:30
Random.cpp Clang format refresh (#2812) 2024-01-29 12:59:33 -05:00
Reduction.cpp Implement lowering of torch.aten.all.dim (#2873) 2024-02-07 12:34:52 -08:00
TensorConstructors.cpp Clang format refresh (#2812) 2024-01-29 12:59:33 -05:00
TensorScalarInterop.cpp Elide dynamic broadcast checks when in strict symbolic shapes mode. (#2496) 2023-09-29 16:45:48 -07:00
TorchToLinalg.cpp Add complex types support with basic complex ops. 2023-05-11 21:29:07 +05:30
Uncategorized.cpp [torch] Support `torch.convolution` quantized lowering to `linalg` (#2811) 2024-01-30 13:46:47 -08:00
Utils.cpp [torch] Support `torch.convolution` quantized lowering to `linalg` (#2811) 2024-01-30 13:46:47 -08:00