-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Fix input_1 data to has got same shape as in model #4684
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
Fix input_1 data to has got same shape as in model #4684
Conversation
Signed-off-by: Raasz, Pawel <[email protected]>
0d6ccac to
f77f056
Compare
|
Thanks for your contribution! However, it seems that the shape of onnx/onnx/backend/test/case/node/castlike.py Line 123 in 791ab90
And I think the mismatch you encountered comes from that we specified a wrong type proto here: onnx/onnx/backend/test/case/node/castlike.py Line 135 in 791ab90
|
Signed-off-by: Raasz, Pawel <[email protected]>
d0e9801 to
bc1812e
Compare
Signed-off-by: Raasz, Pawel <[email protected]>
Signed-off-by: Raasz, Pawel <[email protected]>
You've got right about proto. I've created like proto which use correct shape and generated test model will have correct inputs aligned with test data. |
|
@gramalingam @jcwchen could you please approve necessary CI workflows? |
Signed-off-by: Raasz, Pawel <[email protected]> Co-authored-by: G. Ramalingam <[email protected]> Co-authored-by: Chun-Wei Chen <[email protected]> Signed-off-by: Aditya Goel <[email protected]>
Description
The test models in backend tests:
test_castlike_BFLOAT16_to_FLOATtest_castlike_FLOAT_to_BFFLOAT16have changed between versions 1.11 and 1.12. The input 'Like' has got shape
3x4instead1but data for this input is still shape of1.This change add consistency between model and data.
Motivation and Context
The OpenVINO project use this tests. After upgrade from
1.11->1.12these test start failing as there is no consistency between input data and inputs shapes.