Function: get_desc

C Prototype

aclError aclmdlGetDesc(aclmdlDesc *modelDesc, uint32_t modelId)

Python Function

ret = acl.mdl.get_desc(model_desc, model_id)

Function Usage

Obtains model data of the aclmdlDesc type using the model ID.

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.

model_id: int, model ID.

Return Value

ret: int, error code.

Restrictions

None