Obtains the size of a tensor description. This API is synchronous.
size_t aclGetTensorDescSize(const aclTensorDesc *desc)
Parameter |
Input/Output |
Description |
|---|---|---|
desc |
Input |
Pointer to data of the aclTensorDesc type. Call aclCreateTensorDesc to create data of the aclTensorDesc type in advance. |
Size of the tensor description