Function: get_dataset_num_buffers
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
√ |
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Function Usage
Obtains the number of aclDataBuffer instances in aclmdlDataset.
Prototype
- C Prototype
1size_t aclmdlGetDatasetNumBuffers(const aclmdlDataset *dataset)
- Python Function
1index = acl.mdl.get_dataset_num_buffers(dataset)
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. |
Returns
Return Value |
Description |
|---|---|
index |
Int, number of aclDataBuffer instances. |
Parent topic: aclmdlDataset