aclGetTensorDescFormat
Description
Obtains the format specified in a tensor description.
Prototype
aclFormat aclGetTensorDescFormat(const aclTensorDesc *desc)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
desc |
Input |
Pointer to data of the aclTensorDesc type. Call aclCreateTensorDesc to create data of the aclTensorDesc type in advance. |
Returns
Tensor format
Parent topic: aclTensorDesc