CreateDynamicTensorHolderFromNode
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
Obtains the dynamically output tensor from a graph node.
Prototype
1 | std::vector<EsCTensorHolder *> *CreateDynamicTensorHolderFromNode(const ge::GNode& node, int32_t start_idx, int32_t output_num) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
node |
Input |
Graph node. |
start_idx |
Input |
Start ID of the output index. |
output_num |
Input |
Total number of dynamic outputs. |
Returns
Parameter |
Type |
Description |
|---|---|---|
- |
std::vector<EsCTensorHolder *> * |
Pointer to the dynamic output container holder. |
Constraints
None
Parent topic: EsCGraphBuilder