Updated on 2022-03-13 GMT+08:00

UpdateDynamicOutputDesc

Function Prototype

graphStatus UpdateDynamicOutputDesc (const string& name, const unsigned int index, const TensorDesc& tensorDesc);

Function Description

Updates the dynamic output TensorDesc of an operator based on the combination of its output name and index.

Parameter Description

Parameter

Input/Output

Type

Description

name

Input

const string&

Dynamic output name of the operator

index

Input

const unsigned int

Dynamic output index of the operator

tensorDesc

Input

const TensorDesc&

TensorDesc object

Return Value

Parameter

Type

Description

-

graphStatus

If the dynamic output TensorDesc is updated successfully, GRAPH_SUCCESS is returned. Otherwise, GRAPH_FAILED is returned.

Exception Handling

None

Restriction

None