InsertInput

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 input 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 &InsertInput(const std::string &input_node, int32_t peer_out_idx);
InnerNodeInfo &InsertInput(const char_t *input_node, int32_t peer_out_idx);

Parameters

Parameter

Input/Output

Description

input_node

Input

Input node

peer_out_idx

Input

Output index

Returns

A reference of type InnerNodeInfo &.

Restrictions

None