Function: get_input_name_by_index
Applicability
Product |
Supported (√/x) |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Function Usage
Obtains the input name of a model based on the model description.
Prototype
- C Prototype
1const char *aclmdlGetInputNameByIndex(const aclmdlDesc *modelDesc, size_t index)
- Python Function
1input_name = acl.mdl.get_input_name_by_index(model_desc, index)
Parameter Description
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. |
index |
Int, sequence number of the input to obtain, indexed starting at 0 |
Return Value Description
Return Value |
Description |
|---|---|
input_name |
Str, the input name. |
Parent topic: aclmdlDesc