acltdtGetDataItem

Description

Obtains the acltdtDataItem indexed index from the acltdtDataset. This API is synchronous.

The Ascend 310 AI Processor does not support this API in the current version.

The Ascend 310P AI Processor does not support this API in the current version.

Prototype

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

Parameters

Parameter

Input/Output

Description

dataset

Input

Pointer to data of the acltdtDataset type.

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

index

Input

Sequence number of the acltdtDataItem to obtain.

Returns