Function: get_input_data_type
Applicability
Product |
Supported (√/x) |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Function Usage
Obtains the input data type of a model based on the model description.
Prototype
- C Prototype
1aclDataType aclmdlGetInputDataType(const aclmdlDesc *modelDesc, size_t index)
- Python Function
1data_type = acl.mdl.get_input_data_type(model_desc, index)
Parameter Description
Parameter |
Description |
|---|---|
model_desc |
Int, pointer address of the data of the aclmdlDesc type. |
index |
Int, sequence number of the input to obtain, indexed starting at 0 |
Return Value Description
Return Value |
Description |
|---|---|
data_type |
Int, data type of the specified input. For details, see aclDataType. |
Parent topic: aclmdlDesc