CreateDynamicTensorHolderFromNode
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
√ |
√ |
|
√ |
|
√ |
|
√ |
|
√ |
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 dynamic 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 |
Starting output index. |
output_num |
Input |
Total number of dynamic outputs. |
Returns
Parameter |
Type |
Description |
|---|---|---|
- |
std::vector<EsCTensorHolder *> * |
Pointer to the dynamic output container holder. |
Restrictions
None
Parent topic: EsCGraphBuilder