---
title: 简介
description: "用于实现一对多场景融合Pass的基类。该类提供根据节点类型在图中查找节点，根据子类提供的Replacement结构改图的功能。"
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/API/ascendgraphapi/atlasgeapi_07_0238.html
sourcePath: /source/zh/canncommercial/900/API/ascendgraphapi/atlasgeapi_07_0238.html
indexId: ceccbc32d108b8c695a8b0ab4347b7a738e78f8b5b9b20d9550d9a26fabab41f72
---
# 简介

用于实现一对多场景融合Pass的基类。该类提供根据节点类型在图中查找节点，根据子类提供的Replacement结构改图的功能。

#### 需要包含的头文件

```
#include <ge/fusion/pass/decompose_pass.h>
```


#### Public成员函数

```
explicit DecomposePass(const std::vector<AscendString> &op_types)
Status Run(GraphPtr &graph, CustomPassContext &pass_context) override
```
