Function: get_desc
Applicability
|
Product |
Supported |
|---|---|
|
Atlas 350 Accelerator Card |
√ |
|
|
√ |
|
|
√ |
|
|
√ |
|
|
√ |
|
|
√ |
Function Usage
Obtains the model description based on the model ID.
Prototype
- C Prototype
1aclError aclmdlGetDesc(aclmdlDesc *modelDesc, uint32_t modelId)
- Python Function
1ret = acl.mdl.get_desc(model_desc, model_id)
Parameters
|
Parameter |
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. |
Parent topic: aclmdlDesc