---
title: DeconvWeightTransFusionPass
description: "在int8量化场景下，对输入filter进行转置逆序。"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/maintenref/graphubfusionref/atlasrr_30_0029.html
sourcePath: /source/zh/canncommercial/900/maintenref/graphubfusionref/atlasrr_30_0029.html
indexId: b8fde8283b67867faba048845ae8f8c047a6c12d8b541039e8b39e472774f4ed78
---
# DeconvWeightTransFusionPass

#### 融合模式

在int8量化场景下，对输入filter进行转置逆序。

融合为

- 当filter的维度不等于4时，会在filter后插入complement_dimension节点。
- 当filter的shape中H和W维度都不为1时，会在Reformat后依次插入reshape_in，reverse和reshape_out节点。
- 所有插入节点都会进行常量折叠。


#### 使用约束

- int8量化场景下，该融合生效。
- AscendWeightQuant的filter输入仅支持const并且为int8类型。
