---
title: 工具实现的融合功能
description: "当前该工具主要实现的为Conv+BN融合：AMCT在量化前会对模型中的\"torch.nn.Conv2d+torch.nn.BatchNorm2d\"结构做Conv+BN融合，融合后的torch.nn.BatchNorm2d层会被删除。"
url: https://www.hiascend.com/document/detail/zh/CANNCommunityEdition/latest/devaids/amct/atlasamct_16_0136.html
sourcePath: /source/zh/CANNCommunityEdition/920beta2/devaids/amct/atlasamct_16_0136.html
indexId: 8a085ae4e983a94313989ecafeba325ca7dedeb5d4834b3fbed681aef4a7629676
---
# 工具实现的融合功能

#### 融合功能

当前该工具主要实现的为Conv+BN融合：AMCT在量化前会对模型中的"torch.nn.Conv2d+torch.nn.BatchNorm2d"结构做Conv+BN融合，融合后的torch.nn.BatchNorm2d层会被删除。
