acltdtGetTensorTypeFromItem

Applicability

Product

Supported

Atlas A3 training products/Atlas A3 inference products

Atlas A2 training products/Atlas A2 inference products

Atlas 200I/500 A2 inference products

x

Atlas inference products

x

Atlas training products

Functions

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.