-
Notifications
You must be signed in to change notification settings - Fork 158
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
[CFE] Introduce dredd test for TensorShape #13998
Comments
As you mentioned the related issue, I think this is limited to |
Before we support this, we have to discuss how to implement it.
Please share any ideas 😊 |
There are pros and cons to both implementation methods. Create a new dredd test
Extending the existing dredd test(e.g., circle2circle-dredd-recipe-test)
|
We discussed among ourselves and concluded that:
However, during the design process, a question arose:
|
Aha, I didn't know that this issue opened last week 😢 |
👍 |
I made draft with this suggestion. |
We are about to add the shape inference feature to the existing For example, # To check if dynamic dimension properly inferred
RULE "VERIFY_FILE_FORMAT" $(verify_file_format) '=' 1
RULE "PAD_EXIST" $(op_count PAD) '=' 1
RULE "PAD_SHAPE" $(tensor_shape ofm) '=' [1, -1, 7, 2]
Do you have any opinions? |
FYI)
|
Looks good to me :) |
can |
I've tried with this method, but it fails.
I think if /cc @shs-park |
IMHO, it seems like |
👍 It might be a good idea to leave a comment in |
👍 |
If we leave a comment in the |
Sounds good =) I think it would be ok to mention it in the |
How can we add dredd-tests for 1. Create Inf_xxx_000
2. Add a rule to the existing recipes
3. Don’t add a static shape inference test |
@kyeong8139, |
In the unit tests, we test both static and dynamic shape inference. |
If a pass that performs In that case, I think method 1 is better.
Is there any part you implemented this time that you would like to add a "static shape inference" test to? 😅 |
I agree with this opinion. IMHO, there's no need to implement it immediately. |
What
Let's introduce dredd test for TensorShape.
Why
To test shape update of circle models.
Related : #10980
The text was updated successfully, but these errors were encountered: