Function: get_tensor_desc_format
C Prototype |
aclFormat aclGetTensorDescFormat(const aclTensorDesc *desc) |
|---|---|
Python Function |
format = acl.get_tensor_desc_format(desc) |
Function Usage |
Obtains the format of the tensor description. |
Input Description |
desc: int, pointer address of aclTensorDesc. Call acl.create_tensor_desc to create data of the aclTensorDesc type in advance. |
Return Value |
format: int, format of the specified tensor description. |
Restrictions |
None |
Parent topic: Common APIs