acltdtGetDataSizeFromItem

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

Obtains the length of normal data.

Prototype

1
size_t acltdtGetDataSizeFromItem(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

Obtained data length.