Function: get_output_data_type

C Prototype

aclDataType aclmdlGetOutputDataType(const aclmdlDesc *modelDesc, size_t index)

Python Function

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

Function Usage

Obtains the output data type 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

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

Restrictions

None