Function: get_output_index_by_name
Applicability
|
Product |
Supported |
|---|---|
|
Atlas 350 Accelerator Card |
√ |
|
|
√ |
|
|
√ |
|
|
√ |
|
|
√ |
|
|
√ |
Function Usage
Obtains the index of a model output based on the output name.
Prototype
- C Prototype
1aclError aclmdlGetOutputIndexByName(const aclmdlDesc *modelDesc, const char *name, size_t *index)
- Python Function
1index, ret = acl.mdl.get_output_index_by_name(model_desc, name)
Parameters
|
Parameter |
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. |
Parent topic: aclmdlDesc