GetDynamicInputIndexesByName
Description
Obtains the dynamic input port indexes based on the port name of an operator.
Prototype
graphStatus GetDynamicInputIndexesByName(const AscendString &name, std::vector<int32_t> &indexes);
Restrictions
None
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
name |
Input |
Name of the dynamic input port. |
indexes |
Output |
Dynamic input port index of the operator. |
Returns
Parameter |
Type |
Description |
|---|---|---|
- |
graphStatus |
GRAPH_SUCCESS(0): success. Other values: failure. |
Parent topic: Class GNode