PatternFusionPass Constructor

Applicable Products

All processors

Header File/Library File

  • Header file: #include <ge/fusion/pass/pattern_fusion_pass.h>
  • Library file: libge_compiler.so

Function Usage

Constructs an object of class PatternFusionPass.

For the pass created using this constructor, all items in Match Config are disabled by default. Subclasses can pass PatternMatcherConfig to enable the required matching options.

Prototype

1
2
PatternFusionPass()
explicit PatternFusionPass(std::unique_ptr<PatternMatcherConfig> match_config)

Parameters

Parameter

Input/Output

Description

std::unique_ptr<PatternMatcherConfig> match_config

Input

Matching rule configuration.

Returns

None

Restrictions

None