Function: get_output_format

C Prototype

aclFormat aclmdlGetOutputFormat(const aclmdlDesc *modelDesc, size_t index)

Python Function

format_info = acl.mdl.get_output_format(model_desc, index)

Function Usage

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