Function: get_input_format
C Prototype |
aclFormat aclmdlGetInputFormat(const aclmdlDesc *modelDesc, size_t index) |
|---|---|
Python Function |
format_info = acl.mdl.get_input_format(model_desc, index) |
Function Usage |
Obtains the input format of a model based on the model description. |
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. index: int, sequence number of the input to be obtained, starting from 0. |
Return Value |
format_info: int, format of the specified input. For details, see aclFormat. |
Restrictions |
None |
Parent topic: aclmdlDesc