torch-mlir/test/Conversion/TorchToLinalg
zjgarvey 074098d20c
Modifies onnx resize lowering to fix numerical issues (#3381)
Updates:

- some unsupported modes are now going to report a match failure for
unsupported coordinate transformation modes.
- fixes a bug that was introduced in the last patch for resize (my
bad...)
- uses actual x and y coordinates for computing weights in bilinear
interpolation (rather than eps modified values)
- slightly simplifies the bilinear interpolation payload for readability
and performance
- passes coordinate transformation mode information from an onnx.Resize
op to the mode string for the aten._interpolate op. This allows us to
perform custom logic in the torch->linalg lowering to support
onnx.Resize options without losing the default behaviors of the
interpolate op.
2024-05-30 20:34:37 -04:00
..
basic.mlir Drop torch attributes at the end of backend conversion. (#2876) 2024-02-13 14:32:02 -08:00
broadcast.mlir [TorchToLinalg] Improve broadcast lowerings in strict symbolic modes (#2505) 2023-10-05 15:15:26 -04:00
convolution.mlir [MLIR][Torch] Do not convert bias tensor to element type if NoneType (#3072) 2024-04-02 14:19:26 +05:30
elementwise.mlir [torch] Lower `torch.aten.sinh` to `linalg` (#2662) 2023-12-18 09:15:12 -08:00
flatten.mlir Integrate llvm-project at dabdec1001dc368373dd581cf72f37a440873ce3 (#3300) 2024-05-08 14:43:06 -04:00
gridsampler.mlir [onnx] Gridsampler addition of nearest mode (#3320) 2024-05-10 11:42:10 -07:00
pooling.mlir MaxPool1d lowering to linalg (#3295) 2024-05-10 22:05:26 +05:30
resize.mlir Modifies onnx resize lowering to fix numerical issues (#3381) 2024-05-30 20:34:37 -04:00
sparse.mlir [torch-mlir][sparse] recognize to_dense primitive (#3308) 2024-05-08 22:50:17 -07:00
unsqueeze.mlir Integrate llvm-project at dabdec1001dc368373dd581cf72f37a440873ce3 (#3300) 2024-05-08 14:43:06 -04:00
view.mlir [linalg] Implement strict mode lowering for aten.view. (#3319) 2024-05-10 13:45:50 -07:00
view_strict.mlir [linalg] Implement strict mode lowering for aten.view. (#3319) 2024-05-10 13:45:50 -07:00