aclmdlBundleUnload
Description
After model inference is complete, this API can be called to unload the model loaded by calling aclmdlBundleLoadFromFile or aclmdlBundleLoadFromMem to release resources.
This API needs to work with other APIs to dynamically update variables. For details, see the description of aclmdlBundleLoadFromFile.
Prototype
aclError aclmdlBundleUnload(uint32_t bundleId)
Command-Line Options
|
Parameter |
Input/Output |
Description |
|---|---|---|
|
bundleId |
Input |
Bundle ID returned after a model is successfully loaded by calling aclmdlBundleLoadFromFile or aclmdlBundleLoadFromMem. |
Returns
The value 0 indicates success, and other values indicate failure. For details, see aclError.
Parent topic: Model Loading and Unloading