Function: get_tensor_desc_address
Applicability
Product |
Supported (√/x) |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
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)
Parameter Description
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. |
Return Value Description
Return Value |
Description |
|---|---|
addr |
Int, tensor pointer address of a specified operator input or output. |
Parent topic: aclmdlTensorDesc