aclmdlBundleGetModelNum
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Description
Obtains the number of executable graphs based on the bundle ID.
Prototype
aclError aclmdlBundleGetModelNum(uint32_t bundleId, size_t *modelNum)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
bundleId |
Input |
Bundle ID returned after a model is successfully loaded by calling aclmdlBundleLoadFromFile or aclmdlBundleLoadFromMem. |
modelNum |
Output |
Number of executable graphs. |
Returns
0 on success; else, failure. For details, see aclError.
Parent topic: Model Loading and Unloading