SetGraphOutput
Applicability
Product |
Supported or Not |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Header File/Library File
- Header file: #include <ge/es_c_graph_builder.h>
- Library files: libeager_style_graph_builder_base.so and libeager_style_graph_builder_base_static.a
Function Usage
Sets the output of a graph.
Prototype
1 | ge::Status SetGraphOutput(EsCTensorHolder *tensor, int64_t output_index) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
tensor |
Input |
Tensor holder. |
output_index |
Input |
Output index. |
Returns
Parameter |
Type |
Description |
|---|---|---|
- |
ge::Status |
Operation status. |
Constraints
None
Parent topic: EsCGraphBuilder