Function: create_dataset
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
√ |
√ |
|
√ |
|
√ |
|
√ |
|
√ |
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.
Prototype
- C Prototype
1aclmdlDataset *aclmdlCreateDataset()
- Python Function
1mdl_dataset = acl.mdl.create_dataset()
Parameters
None
Returns
Return Value |
Description |
|---|---|
mdl_dataset |
Int, pointer address of the aclmdlDataset type. |
Parent topic: aclmdlDataset