SetTensorDesc
Function Usage
Sets the descriptor of a tensor (TensorDesc).
Prototype
1 | 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
Constraints
None
Parent topic: Tensor