acltdtGetTensorTypeFromItem

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

x

Atlas inference product

x

Atlas training product

Description

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

Prototype

1
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.