Function Snpe_ITensor_GetSize¶
Defined in File ITensor.h
Function Documentation¶
-
size_t Snpe_ITensor_GetSize(Snpe_ITensor_Handle_t tensorHandle)¶
Returns the element size of the data in the tensor (discounting strides). This is how big a buffer would need to be to hold the tensor data contiguously in memory.
- Parameters
tensorHandle – [in] : Handle to access ITensor
- Returns
The size of the tensor (in elements).