---
title: 简介
description: 用于配置PatternMatcher行为的类。
url: "https://www.hiascend.com/document/detail/zh/canncommercial/900/API/ascendgraphapi/atlasgeapi_07_0558.html"
---

# 简介

用于配置PatternMatcher行为的类。

请使用PatternMatcherConfigBuilder来构造PatternMatcherConfig。

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

```
#include <ge/fusion/pattern_matcher_config.h>
```


#### Public成员函数

```
PatternMatcherConfig()
~
PatternMatcherConfig()
PatternMatcherConfig(const PatternMatcherConfig &other)
PatternMatcherConfig &operator=(const PatternMatcherConfig &other)
PatternMatcherConfig(PatternMatcherConfig &&other) noexcept
PatternMatcherConfig &operator=(PatternMatcherConfig &&other) noexcept
bool IsEnableConstValueMatch() const
bool IsEnableIrAttrMatch() const
```
