You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After running onnxsim.simplify the local function MyReshapeFunction is removed from the model and inference fails.
Commenting out lines 69 and 70 makes the inference work.
The text was updated successfully, but these errors were encountered:
Describe the bug
onnxsim.simplify (version 0.4.35) removes local functions from the model
Model
The issue can be reproduced with following script: testLocalFunction.py.txt
After running onnxsim.simplify the local function MyReshapeFunction is removed from the model and inference fails.
Commenting out lines 69 and 70 makes the inference work.
The text was updated successfully, but these errors were encountered: