aclmdlBundleGetModelNum
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
√ |
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Function Usage
Obtains the number of executable graphs based on the bundle ID.
Prototype
1 | aclError aclmdlBundleGetModelNum(uint32_t bundleId, size_t *modelNum) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
bundleId |
Input |
Bundle ID returned after a model is successfully loaded through 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