torch-mlir/lib/Dialect/Torch
zjgarvey 3104b66560
Fix Slice Folder OOB Crash and onnx.Shape lowering (#3843)
1. Clamps OOB start index to 0 in slice folder
2. Adds a more descriptive `emitError` in slice folder if the creation
of the `DenseElementsAttr` would fail due to a bad result shape.
3. Fixes the `onnx.Shape` lowering to default to `inputRank` for `end`
instead of `-1`. When `end==-1` the last element was missing when
slicing.
2024-11-01 15:33:21 -05:00
..
IR Fix Slice Folder OOB Crash and onnx.Shape lowering (#3843) 2024-11-01 15:33:21 -05:00
Transforms add scalarization patterns to support dynamic pytorch pad exports (#3838) 2024-11-01 14:56:48 -05:00
Utils Add Op for `torch.aten.unfold` (#3772) 2024-10-08 21:10:43 +00:00
CMakeLists.txt E2e support for aten.softmax.int and aten.embedding 2021-10-18 17:57:45 -04:00