Function: create_dataset

C Prototype

aclmdlDataset *aclmdlCreateDataset()

Python Function

mdl_dataset = acl.mdl.create_dataset()

Function Usage

Creates data of the aclmdlDataset type.

This data type is used to describe input and output data during model inference. A model may have multiple inputs or outputs, and data of type aclDataBuffer is used to describe the buffer address and buffer size of each input or output.

To destroy data of the aclmdlDataset type, call Function: destroy_dataset.

Input Description

None

Return Value

mdl_dataset: int, pointer address of the aclmdlDataset type.

Restrictions

None