EsDestroyGraphBuilder

Applicability

Product

Supported or Not

Atlas A3 training products/Atlas A3 inference products

Atlas A2 training products/Atlas A2 inference products

Atlas 200I/500 A2 inference products

Atlas inference products

Atlas training products

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

Releases graph builder resources.

Prototype

1
void EsDestroyGraphBuilder(EsCGraphBuilder *graph)

Parameters

Parameter

Input/Output

Description

graph

Input

Graph builder.

Constraints

None

Examples

1
2
3
4
5
// Create a graph builder (EsCGraphBuilder).
EsCGraphBuilder *builder = EsCreateGraphBuilder("graph_name");
// Omit the graph composition code.
// Release the builder and its managed process resources.
EsDestroyGraphBuilder(builder);