Function: get_tensor_desc_size
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
√ |
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Function Usage
Obtains the size of a tensor description.
Prototype
- C Prototype
1size_t aclGetTensorDescSize(const aclTensorDesc *desc)
- Python Function
1size = acl.get_tensor_desc_size(desc)
Parameters
Parameter |
Description |
|---|---|
desc |
Int, pointer address of the aclTensorDesc type. Call acl.create_tensor_desc to create data of the aclTensorDesc type in advance. |
Returns
Return Value |
Description |
|---|---|
size |
Int, size of the space occupied by the tensor description. |
Parent topic: aclmdlTensorDesc