aclGetTensorListSize
Function Usage
Obtains the size of the aclTensorList.
Prototype
aclnnStatus aclGetTensorListSize(const aclTensorList *tensorList, uint64_t *size)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
tensorList |
Input |
Source aclTensorList. The aclTensor list must be created by calling the aclCreateTensorList API in advance. |
size |
Output |
Size of the aclTensorLisy. |
Returns
0 on success; else, failure.
Parent topic: Basic APIs