acltdtGetDatasetSize

Description

Obtains the acltdtDataItem count in 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

size_t acltdtGetDatasetSize(const acltdtDataset *dataset)

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.

Returns

acltdtDataItem count