Function: get_tensor_desc_address
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
√ |
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Function Usage
Obtains the tensor pointer address of a specified operator input or output.
Prototype
- C Prototype
1void *aclGetTensorDescAddress(const aclTensorDesc *desc)
- Python Function
1addr = acl.get_tensor_desc_address(desc)
Parameters
Parameter |
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. |
Returns
Return Value |
Description |
|---|---|
addr |
Int, tensor pointer address of a specified operator input or output. |
Parent topic: aclmdlTensorDesc