Function: get_num_inputs
Applicability
Product |
Supported (√/x) |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Function Usage
Obtains the number of model inputs based on data of the aclmdlDesc type.
Prototype
- C Prototype
1size_t aclmdlGetNumInputs(aclmdlDesc *modelDesc)
- Python Function
1size = acl.mdl.get_num_inputs(model_desc)
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. |
Return Value Description
Return Value |
Description |
|---|---|
size |
Int, number of model inputs. |
Parent topic: aclmdlDesc