PadDepthwiseConv2dFusionPass
融合模式
该融合规则将PadD+DepthwiseConv2D算子融合为DepthwiseConv2D算子。
融合成
使用约束
- 不支持动态shape。
- 不支持pad算子连接多个DepthwiseConv2D结构。
- 融合前DepthwiseConv2D需要有padding属性,且必须为VALID。
- PadD算子只支持在DepthwiseConv2D的H/W维度补pad,融合后的pad大小要在[0, 255]区间内,融合后的pad_top和pad_bottom均小于kernel_h。
支持的型号
Atlas 200/300/500 推理产品
Atlas 推理系列产品
Atlas 200/500 A2推理产品
Atlas 训练系列产品
Atlas A2训练系列产品/Atlas 800I A2推理产品
父主题: 图融合规则说明