aclmdlAddDatasetBuffer

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

Atlas inference product

Atlas training product

Function Usage

Adds aclDataBuffer to aclmdlDataset.

Prototype

1
aclError aclmdlAddDatasetBuffer(aclmdlDataset *dataset, aclDataBuffer *dataBuffer)

Parameters

Parameter

Input/Output

Description

dataset

Output

Pointer to the aclmdlDataset address where aclDataBuffer is to be added.

Call aclmdlCreateDataset to create data of the aclmdlDataset type in advance.

dataBuffer

Input

Pointer to the aclDataBuffer address.

Call aclCreateDataBuffer to create data of the aclDataBuffer type in advance.

Returns

0 on success; else, failure. For details, see aclError.