Function: bundle_get_model_num
Applicability
Product |
Supported (√/x) |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Function Usage
Obtains the number of executable models based on bundle_id.
Prototype
- C Prototype
1aclError aclmdlBundleGetModelNum(uint32_t bundleId, size_t modelNum)
- Python Function
1model_num, ret = acl.mdl.bundle_get_model_num(bundle_id)
Parameter Description
Parameter |
Description |
|---|---|
bundle_id |
Int, bundle_id returned after the model is successfully loaded through the acl.mdl.bundle_load_from_file API or acl.mdl.bundle_load_from_mem API. |
Return Value Description
Return Value |
Description |
|---|---|
model_num |
Int, number of executable models. |
ret |
Int, error code: 0 on success; else, failure. |
Parent topic: Model Loading and Unloading