GetMatchedNode
Applicability
Product |
Supported or Not |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Header File/Library File
- Header file: #include <ge/fusion/match_result.h>
- Library file: libge_compiler.so
Function Usage
Indicates the target node matched based on the pattern node.
Prototype
1 | Status GetMatchedNode(const GNode &pattern_node, GNode &matched_node) const |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
pattern_node |
Input |
A node in the pattern graph. |
matched_node |
Output |
matched node. |
Returns
Parameter |
Type |
Description |
|---|---|---|
- |
Status |
SUCCESS: The matching succeeds. FAILED: The matching fails. |
Constraints
None
Parent topic: MatchResult