---
title: PadDepthwiseConv2dFusionPass
description: "该融合规则将PadD+DepthwiseConv2D算子融合为DepthwiseConv2D算子。"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/maintenref/graphubfusionref/atlasrr_30_0017.html
sourcePath: /source/zh/canncommercial/900/maintenref/graphubfusionref/atlasrr_30_0017.html
indexId: dcd791cd77fc5a06156cf7facf021b3de99be4e8e3665e6892d4e3e7a8f3195578
---
# PadDepthwiseConv2dFusionPass

#### 融合模式

该融合规则将PadD+DepthwiseConv2D算子融合为DepthwiseConv2D算子。

融合成


#### 使用约束

- 不支持动态shape。
- 不支持PadD算子连接多个DepthwiseConv2D结构。
- 融合前DepthwiseConv2D需要有padding属性，且必须为VALID。
- PadD算子只支持在DepthwiseConv2D的H/W维度补pad，融合后的pad大小要在[0, 255]区间内，融合后的pad_top和pad_bottom均小于kernel_h。


#### 支持的型号

Atlas 推理系列产品

Atlas 200I/500 A2 推理产品

Atlas 训练系列产品

Atlas A2 训练系列产品 / Atlas A2 推理系列产品

Atlas A3 训练系列产品 / Atlas A3 推理系列产品
