torch-mlir/test/Dialect
zjgarvey 738d45d3bb
add scalarization patterns to support dynamic pytorch pad exports (#3838)
1. Adds case handling for `aten.slice.tensor` shape inference with
negative strides. This is not technically allowed by native pytorch, but
it is useful for ONNX ingest. We were getting some incorrect shapes for
these negative strided slice ops.
2. Adds scalarization support for ops seen in pytorch pad exports to
ONNX. These are typically `aten.view` `aten.transpose.int` and
`aten.slice.Tensor` with negative strides (and rank 2).
3. Allows view op `self` to be added to the worklist conditionally,
based on whether the view op actually occurs as a middle point in a
shape computation.
2024-11-01 14:56:48 -05:00
..
TMTensor Bump to llvm/llvm-project@e813750354 (#3765) 2024-10-04 12:08:35 -07:00
Torch add scalarization patterns to support dynamic pytorch pad exports (#3838) 2024-11-01 14:56:48 -05:00
TorchConversion Add extf-trunc f32-f64-f32 ellision (#3579) 2024-07-31 16:50:00 -07:00