Function: get_tensor_desc_name
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
√ |
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Function Usage
Obtains the name of a tensor description.
Prototype
- C Prototype
1const char *aclGetTensorDescName(aclTensorDesc *desc)
- Python Function
1name = acl.get_tensor_desc_name(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 |
|---|---|
name |
Str, tensor description name. |
Parent topic: aclmdlTensorDesc