IsValid
Description
Checks whether a Tensor object is valid.
If the actual size of the tensor data is the same as that of the tensor data described by TensorDesc, the object is valid.
Prototype
graphStatus IsValid()
Parameters
None.
Returns
graphStatus type. GRAPH_SUCCESS if the Tensor object is valid; otherwise, GRAPH_FAILED.
Exception Handling
None.
Restrictions
None.
Parent topic: Tensor