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

用于配置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
```
