Obtains the data type specified in a tensor description. This API is synchronous.
aclDataType aclGetTensorDescType(const aclTensorDesc *desc)
Parameter |
Input/Output |
Description |
|---|---|---|
desc |
Input |
Pointer to data of the aclTensorDesc type. Call aclCreateTensorDesc to create data of the aclTensorDesc type in advance. |
Tensor data type