-
Notifications
You must be signed in to change notification settings - Fork 338
New issue
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
Questions About Lowering from the onnx dialect #189
Comments
Simply run
|
Thank you that was helpful |
Also I have tried to lower the onnx implementation of AlexNet (https://github.com/onnx/models/blob/master/vision/classification/alexnet/model/bvlcalexnet-3.onnx) to the onnx dialect but have got the shape inference error. First I emmited the onnxbasic
And then tried to lower to MLIR but got shape inference error
I have also tried using onnx-mlir-opt for shape inference but it throws another error
|
@AkhilJ99 any updates on this? |
How exactly does one convert the code in onnx dialect like the one given below to a lower dialect like affine and std ?. Do these conversions already exist ?.
`
func @main_graph(%arg0: tensor<2x3xf32>) -> tensor<2x3xf32> {
%0 = "onnx.Add"(%arg0, %arg0) : (tensor<2x3xf32>, tensor<2x3xf32>) -> tensor<2x3xf32>
return %0 : tensor<2x3xf32>
}
"onnx.EntryPoint"() {func = @main_graph, numInputs = 1 : i32, numOutputs = 1 : i32} : () -> ()
`
The text was updated successfully, but these errors were encountered: