EsGetOwnerBuilder
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
√ |
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Header File/Library File
- Header file: #include <ge/esb_funcs.h>
- Library files: libeager_style_graph_builder_base.so and libeager_style_graph_builder_base_static.a
Function Usage
Returns the snapshot of the EsCGraphBuilder instance. The ownership is not transferred.
Prototype
1 | EsCGraphBuilder *EsGetOwnerBuilder(EsCTensorHolder *tensor) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
tensor |
Input |
Pointer to the tensor holder. |
Returns
Parameter |
Type |
Description |
|---|---|---|
- |
EsCGraphBuilder * |
Pointer to the graph builder on success; nullptr on failure. |
Restrictions
None
Example
1 2 | auto *tensor = EsCreateGraphInput(graph, 0); auto *builder = EsGetOwnerBuilder(tensor); |
Parent topic: ES APIs