SetTensorDesc

Description

Sets the descriptor of a tensor (TensorDesc).

Prototype

graphStatus SetTensorDesc(const TensorDesc &tensor_desc)

Parameters

Parameter

Input/Output

Description

tensor_desc

Input

Tensor descriptor to be set.

Returns

graphStatus type. GRAPH_SUCCESS on success; GRAPH_FAILED on failure.

Exception Handling

None

Restrictions

None