Function: get_output_index_by_name
C Prototype |
aclError aclmdlGetOutputIndexByName(const aclmdlDesc *modelDesc, const char *name, size_t *index) |
|---|---|
Python Function |
index, ret = acl.mdl.get_output_index_by_name(model_desc, name) |
Function Usage |
Obtains the index of a model output based on the output name. |
Input Description |
model_desc: int, pointer address of the data of the aclmdlDesc type. Call acl.mdl.create_desc to create data of the aclmdlDesc type in advance. name: str, input name. |
Return Value |
index: int, index of the input to be obtained. ret: int, error code.
|
Restrictions |
None |
Parent topic: aclmdlDesc