torch-mlir/test/Conversion/TorchToLinalg
Thomas Dietert d2432bbe5a
[MLIR][Torch] Do not convert bias tensor to element type if NoneType (#3072)
The `convertTensorToElementType` function expects it's argument to have
a valid tensor type that is not `Torch::NoneType`. This PR checks that
the bias tensor is not of type `Torch::NoneType` before calling
`convertTensorToElementType` on the bias tensor argument in the
`matchAndRewrite` member function of the `ConvertAtenConvolutionOp`
class.
2024-04-02 14:19:26 +05:30
..
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 Implement Expand/Collapse Functionality for Aten.View (#1353) 2022-09-27 11:08:14 -07:00
gridsampler.mlir [torch] GridSample TorchToLinalg lowering (#2883) 2024-02-23 09:14:38 -08:00
pooling.mlir [torch] GridSample TorchToLinalg lowering (#2883) 2024-02-23 09:14:38 -08:00
sparse.mlir [torch-mlir][sparse] preserve sparsity during lowering torch to linalg (#2809) 2024-01-26 10:54:59 -08:00
unsqueeze.mlir mlir: bump llvm tag to 5380e3 (#856) 2022-05-16 12:54:35 -07:00
view.mlir [torch-mlir][conversion-test] cleanup trailing whitespace in mlir files (#2807) 2024-01-25 14:24:28 -08:00