GetInput
Applicability
Product |
Supported or Not |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Header File/Library File
- Header file: #include <ge/fusion/subgraph_boundary.h>
- Library file: libge_compiler
Function Usage
Obtains a subgraph input based on the index.
Prototype
1 | Status GetInput(int64_t index, SubgraphInput &subgraph_input) const |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
index |
Input |
Input index. |
subgraph_input |
Output |
Description of the subgraph input tensor. |
Returns
Parameter |
Type |
Description |
|---|---|---|
- |
Status |
SUCCESS: success. FAILED: failure. |
Constraints
None
Parent topic: SubgraphBoundary