Function MSTensorGetElementNum

Function Documentation

int64_t MSTensorGetElementNum(const MSTensorHandle tensor)

Obtain the element number of the tensor.

参数:

tensor[in] Tensor object handle.

返回:

The element number of the tensor.