Function: get_tensor_desc_address
C Prototype |
void *aclGetTensorDescAddress(const aclTensorDesc *desc) |
|---|---|
Python Function |
addr = acl.get_tensor_desc_address(desc) |
Function Usage |
Obtains the tensor pointer address of a specified operator input or output. |
Input Description |
desc: int, pointer address of the tensor description. Call acl.get_tensor_desc_by_index to obtain the tensor description of all inputs or all outputs of the operator as the input of this API. |
Return Value |
addr: int, tensor pointer address of a specified operator input or output. |
Restrictions |
None |
Parent topic: Common APIs