Skip to content

Possible bug in Reshape #89

@jeonghm9764

Description

@jeonghm9764

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions