-
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
EliminatePad and PadFusion support Pad12 positive indexes #18278
Conversation
f122040
to
ba86d3d
Compare
@@ -96,14 +97,14 @@ pass::PadFusionAvgPool::PadFusionAvgPool() { | |||
auto pads_end_pattern = pattern::wrap_type<opset5::Constant>(); | |||
auto pad_value_pattern = pattern::any_input(); | |||
auto pad_node_pattern = | |||
pattern::wrap_type<opset5::Pad>({data_pattern, pads_begin_pattern, pads_end_pattern, pad_value_pattern}, | |||
pattern::consumers_count(1)); | |||
pattern::wrap_type<op::util::PadBase>({data_pattern, pads_begin_pattern, pads_end_pattern, pad_value_pattern}, |
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 a note, no changes from your side required: I hope the check on line 58 (pad_fusion.cpp) should already detect the negative pad values
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.
Thank you. I noticed that before PR creation
Details:
PadFusionGroupConvolution, PadFusionGroupConvolutionBackpropData) Pad12 positive indexes
Tickets: