Function: get_dataset_buffer
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
√ |
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Function Usage
Obtains aclDataBuffer indexed index in aclmdlDataset.
Prototype
- C Prototype
1aclDataBuffer* aclmdlGetDatasetBuffer(const aclmdlDataset *dataset, size_t index)
- Python Function
1data_buffer = acl.mdl.get_dataset_buffer(dataset, index)
Parameters
Parameter |
Description |
|---|---|
dataset |
Int, pointer address of the aclmdlDataset data object. Call acl.mdl.create_dataset to create data of the aclmdlDataset type in advance. |
index |
Int, index of aclDataBuffer to obtain. |
Returns
Return Value |
Description |
|---|---|
data_buffer |
Int, pointer address of the aclDataBuffer data object.
|
Parent topic: aclmdlDataset