GetDynamicOutputIndexesByName

Description

Obtains the dynamic output port indexes based on the port name of an operator.

Prototype

graphStatus GetDynamicOutputIndexesByName(const AscendString &name, std::vector<int32_t> &indexes);

Restrictions

None

Parameters

Parameter

Input/Output

Description

name

Input

Name of the dynamic output port.

indexes

Output

Dynamic output port index of the operator.

Returns

Parameter

Type

Description

-

graphStatus

GRAPH_SUCCESS(0): success.

Other values: failure.