-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[Transformations] Add Squeeze-15 downgrade transformation #27286
[Transformations] Add Squeeze-15 downgrade transformation #27286
Conversation
…kolajcz/openvino into mateuszm/squeeze15/downgrade
if (squeeze_v15->get_input_size() == 1) { | ||
squeeze_v0 = std::make_shared<op::v0::Squeeze>(squeeze_v15->input_value(0)); |
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.
v15::Squeeze single input constructor has been extended with allow_axis_skip
so the false
value should be a common condition
if (squeeze_v15->get_input_size() == 1) { | |
squeeze_v0 = std::make_shared<op::v0::Squeeze>(squeeze_v15->input_value(0)); | |
if (squeeze_v15->get_input_size() == 1 && !squeeze_v15->get_allow_axis_skip()) { | |
squeeze_v0 = std::make_shared<op::v0::Squeeze>(squeeze_v15->input_value(0)); |
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.
Or the behavior is the same when axes are not provided?
@barnasm1 Could you confirm?
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.
The result for empty axes is the same (PartialShape::dynamic()
) for both attributes values.
Details:
Tickets:
PR requires PR-26995 to be merged