torch-mlir
torch-mlir copied to clipboard
onnx.Gather error: failed to legalize operation 'torch.operator' that was explicitly marked illegal
error: failed to legalize operation 'torch.operator' that was explicitly marked illegal %714 = torch.operator "onnx.Gather"(%232, %233) {torch.onnx.axis = 0 : si64} : (!torch.vtensor<[4],si64>, !torch.vtensor<[],si64>) -> !torch.vtensor<[],si64>
Can you please mention the steps to reproduce the error
Can you please mention the steps to reproduce the error
torch-mlir-import-onnx efficientNet.onnx -o c1.mlir torch-mlir-opt --convert-torch-onnx-to-torch c1.mlir -o c2.mlir see error,model is efficientNet.onnx