InsertOutput

Applicability

Product

Supported

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

√

Description

Inserts the output operator information into an InnerNodeInfo object.

Prototype

APIs taking string arguments will be deprecated in future releases. Use APIs taking non-string arguments instead.

1
2
InnerNodeInfo &InsertOutput(const std::string &output_node, int32_t peer_in_idx);
InnerNodeInfo &InsertOutput(const char_t *output_node, int32_t peer_in_idx);

Parameters

Parameter

Input/Output

Description

output_node

Input

Output node

peer_in_idx

Input

Input index

Returns

A reference to the InnerNodeInfo object, which supports chained calls.

Restrictions

None