UpdateInputDesc

Description

Updates the tensor format of an input port.

Prototype

graphStatus UpdateInputDesc(const int32_t index, const TensorDesc &tensor_desc);

Restrictions

None

Parameters

Parameter

Input/Output

Description

index

Input

Input port index to be updated.

tensor_desc

Input

Tensor format to be updated.

Returns

Parameter

Type

Description

-

graphStatus

GRAPH_SUCCESS(0) on success;

else, failure.