Function: get_input_data_type

C Prototype

aclDataType aclmdlGetInputDataType(const aclmdlDesc *modelDesc, size_t index)

Python Function

data_type = acl.mdl.get_input_data_type(model_desc, index)

Function Usage

Obtains the data type of an input based on the model description.

Input Description

model_desc: int, pointer address of the data of the aclmdlDesc type.

index: int, sequence number of the input to be obtained, starting from 0.

Return Value

data_type: int, data type of the specified input. For details, see aclDataType.

Restrictions

None