Function: get_num_inputs

C Prototype

size_t aclmdlGetNumInputs(aclmdlDesc *modelDesc)

Python Function

size = acl.mdl.get_num_inputs(model_desc)

Function Usage

Obtains the number of model inputs based on data of the aclmdlDesc type.

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.

Return Value

size: int, number of model inputs.

Restrictions

None