-
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
[luci/service] Enhance handling CircleConst as reshape's shape #14037
Conversation
FYI, following is the road map of supporting dynamic shape inference for the reshape operation.
|
TEST(ShapeRuleTest, reshape_by_input_const_static) | ||
TEST(ShapeRuleTest, reshape_by_const_static) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just for curiosity, Is there a reason for changing this test name?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just for future naming consistency :)
I thought it could be too verbose if I keep naming like the old one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Your commit message is too verbose and it's hard to catch the change. |
I've cleaned up the commit message to show the change and make it easy to read.
If you think these 3 changes need to be split, please let me know :) |
How are these changes related to each other? Are these have tight relation and cannot be separated? |
You should update the commit. ae2e783 is your current commit. |
They have different purposes. So it would be better to split. Thanks for pointing out. |
This commit improves handling `CircleConst` as the `shape` for the reshape operation. - Use `known` explicitly instead of `static_cast` which can cause overflow. ONE-DCO-1.0-Signed-off-by: Jongwon Yang <[email protected]>
ae2e783
to
54f7234
Compare
I have split the change and update the commit. Please let me know if you have any question :) |
This commit simplifies boolean condition. ONE-DCO-Signed-off-by: Jongwon Yang <[email protected]> Co-authored-by: SaeHie Park <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM thank you!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@nnfw-bot test nncc-debug nncc-release tizen-gbs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
This commit improves handling
CircleConst
as theshape
for the reshape operation.known
explicitly instead ofstatic_cast
which can cause overflow.Draft: #13999, #14034
Related: #13927
ONE-DCO-1.0-Signed-off-by: Jongwon Yang [email protected]