We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
onnx.Transpose
The ONNX operation onnx.Transpose fails with failed to legalize operation 'onnx.Transpose' during lowering, as reported in #812.
failed to legalize operation 'onnx.Transpose'
module { func.func @main_graph(%arg0: !torch.vtensor<[1,3,224,224],f32>, %arg1:!torch.vtensor<[],f32>) -> !torch.vtensor<[],f32> attributes {torch.onnx_meta.ir_version = 8 : si64, torch.onnx_meta.opset_version = 17 : si64, torch.onnx_meta.producer_name = "pytorch", torch.onnx_meta.producer_version = "2.1.0"} { %202 = torch.operator "onnx.Transpose"(%arg1) {torch.onnx.perm = [3 : si64, 1 : si64, 2 : si64, 0 : si64, 4 : si64]} : (!torch.vtensor<[],f32>) -> !torch.vtensor<[],f32> return %202 : !torch.vtensor<[],f32> } }
The text was updated successfully, but these errors were encountered:
I'm going to close this issue, as it was likely a result of missing shape inference on import.
Sorry, something went wrong.
zjgarvey
No branches or pull requests
The ONNX operation
onnx.Transpose
fails withfailed to legalize operation 'onnx.Transpose'
during lowering, as reported in #812.The text was updated successfully, but these errors were encountered: