Checks whether the received dataItem is normal, end, or error data based on the data description. This API is synchronous.
The Ascend 310 AI Processor does not support this API in the current version.
The Ascend 310P AI Processor does not support this API in the current version.
acltdtTensorType acltdtGetTensorTypeFromItem(const acltdtDataItem *dataItem)
Parameter |
Input/Output |
Description |
|---|---|---|
dataItem |
Input |
Pointer to data of the acltdtDataItem type. Call acltdtCreateDataItem to create data of the acltdtDataItem type in advance. |
For details, see acltdtTensorType.