GetCapturedTensor
Applicability
Product |
Supported or Not |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Header File/Library File
- Header file: #include <ge/fusion/match_result.h>
- Library file: libge_compiler.so
Function Usage
Obtains the node output in the results obtained based on the index captured in the Pattern.
Prototype
1 | Status GetCapturedTensor(size_t capture_idx, NodeIo &node_output) const |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
capture_idx |
Input |
Captured index ID. |
node_output |
Output |
Matched tensor. |
Returns
Parameter |
Type |
Description |
|---|---|---|
- |
Status |
SUCCESS: The operation succeeds. FAILED: The operation fails. |
Constraints
None
Parent topic: MatchResult