PadDepthwiseConv2dFusionPass
Description
Fuses the PADD+DepthwiseConv2D operators into the DepthwiseConv2D operator.
Before:
After: 
Restrictions
- Dynamic shapes are not supported.
- The pad operator cannot be connected to multiple DepthwiseConv2D structures.
- Before fusion, DepthwiseConv2D must have valid padding attributes.
- The PADD operator supports padding only in the H or W dimension of DepthwiseConv2D. After fusion, the padding size must be within the range of [0, 255], and the values of pad_top and pad_bottom must be less than kernel_h.
Availability
Parent topic: Graph Fusion Patterns