acltdtGetTensorTypeFromItem

The Atlas 200/300/500 Inference Product does not support this API.

Description

Checks whether the received dataItem is normal, end, or error data based on the data description.

Prototype

acltdtTensorType acltdtGetTensorTypeFromItem(const acltdtDataItem *dataItem)

Parameters

Parameter

Input/Output

Description

dataItem

Input

Pointer to data of the acltdtDataItem type.

Call acltdtCreateDataItem to create data of the acltdtDataItem type in advance.

Returns

For details, see acltdtTensorType.