torch-mlir icon indicating copy to clipboard operation
torch-mlir copied to clipboard

import-onnx support on onnx.Clip but --convert-torch-onnx-to-torch failed

Open muwys518 opened this issue 1 year ago • 1 comments

c1.mlir:112:12: error: failed to legalize operation 'torch.operator' that was explicitly marked illegal %109 = torch.operator "onnx.Clip"(%106, %107, %108) : (!torch.vtensor<[1,32,112,112],f32>, !torch.vtensor<[],f32>, !torch.vtensor<[],f32>) -> !torch.vtensor<[1,32,112,112],f32> ^ c1.mlir:112:12: note: see current operation: %123 = "torch.operator"(%120, %121, %122) <{name = "onnx.Clip"}> : (!torch.vtensor<[1,32,112,112],f32>, !torch.vtensor<[],f32>, !torch.vtensor<[],f32>) -> !torch.vtensor<[1,32,112,112],f32>

import-onnx support on onnx.Clip but --convert-torch-onnx-to-torch failed

muwys518 avatar Jan 29 '24 09:01 muwys518

#2684

muwys518 avatar Jan 30 '24 01:01 muwys518