-
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 <pawel.raasz@intel.com>
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 <pawel.raasz@intel.com>
d0e9801
to
bc1812e
Compare
Signed-off-by: Raasz, Pawel <pawel.raasz@intel.com>
Signed-off-by: Raasz, Pawel <pawel.raasz@intel.com>
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 <pawel.raasz@intel.com> Co-authored-by: G. Ramalingam <grama@microsoft.com> Co-authored-by: Chun-Wei Chen <jacky82226@gmail.com> Signed-off-by: Aditya Goel <agoel4512@gmail.com>
Description
The test models in backend tests:
test_castlike_BFLOAT16_to_FLOAT
test_castlike_FLOAT_to_BFFLOAT16
have changed between versions 1.11 and 1.12. The input 'Like' has got shape
3x4
instead1
but 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.12
these test start failing as there is no consistency between input data and inputs shapes.