PatternMatcher Constructor and Destructor
Applicability
Product |
Supported or Not |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Header File/Library File
- Header file: #include <ge/fusion/pattern_matcher.h>
- Library file: libge_compiler.so
Function Usage
Constructs PatternMatcher based on the pattern and target graph.
Prototype
1 2 | explicit PatternMatcher(std::unique_ptr<Pattern> pattern, const GraphPtr &target_graph) ~PatternMatcher() |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
pattern |
Input |
Pattern definition. After PatternMatcher is constructed, its life cycle is managed by the Matcher. |
target_graph |
Input |
Graph to be matched. |
Returns
None
Constraints
None
Parent topic: PatternMatcher