GraphPp Constructor and Destructor

Applicability

Product

Supported

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

x

Atlas inference product

x

Atlas training product

x

Function Description

Constructs and destructs an object of class GraphPp. The constructor returns an object of class GraphPp.

Prototype

1
2
GraphPp(const char_t *pp_name, const GraphBuilder &builder)
~GraphPp() override

Parameters

Parameter

Input/Output

Description

pp_name

Input

GraphPp name, which must be unique for a graph.

builder

Input

Constructor of a GE graph: std::function<ge::Graph()>

For details about GE graph construction, see Graph Development.

Returns

A GraphPp object.

Exception Handling

None

Constraints

None