acltdtGetDataItem

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

Description

Obtains the acltdtDataItem indexed index from the acltdtDataset.

Prototype

acltdtDataItem *acltdtGetDataItem(const acltdtDataset *dataset, size_t index)

Parameters

Parameter

Input/Output

Description

dataset

Input

Pointer to data of the acltdtDataset type.

Call the acltdtCreateDataset API to create data of the acltdtDataset type in advance, and then call the acltdtAddDataItem API to add acltdtDataItem.

index

Input

Sequence number of the acltdtDataItem to obtain.

Returns

  • Success: acltdtDataItem memory address
  • Failure: empty address