aclmdlGetInputIndexByName
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
√ |
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Function Usage
Obtains the index of a model input based on the input name.
Prototype
1 | aclError aclmdlGetInputIndexByName(const aclmdlDesc *modelDesc, const char *name, size_t *index) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
modelDesc |
Input |
Pointer to data of the aclmdlDesc type Call aclmdlCreateDesc to create data of the aclmdlDesc type in advance. |
name |
Input |
Pointer to the input name |
index |
Output |
Pointer to the input index |
Returns
0 on success; else, failure. For details, see aclError.
Parent topic: aclmdlDesc