Skip to content
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

Possible bug in Reshape #89

Open
jeonghm9764 opened this issue Jan 20, 2022 · 0 comments
Open

Possible bug in Reshape #89

jeonghm9764 opened this issue Jan 20, 2022 · 0 comments

Comments

@jeonghm9764
Copy link

I have tried to optimize a LeNet from https://github.com/ONNC/onnc-tutorial/blob/master/models/lenet/lenet.onnx
There are Reshape operations that go into each Add operation after Conv op, representing bias addition, and they sure do have values.
image

However, after optimization, B parameter of Add operation is now all zeros, which means bias is now zero. This gives different outputs (and different accuracy) when run with onnxruntime. I do not think this is expected.
image

Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant