aclmdlGetOutputIndexByName
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Description
Obtains the index of a model output based on the output name.
Prototype
aclError aclmdlGetOutputIndexByName(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 output name. |
index |
Output |
Pointer to the output index. |
Returns
0 on success; else, failure. For details, see aclError.
Parent topic: aclmdlDesc