aclmdlBundleUnload
Applicability
|
Product |
Supported |
|---|---|
|
Atlas 350 Accelerator Card |
√ |
|
|
√ |
|
|
√ |
|
|
√ |
|
|
√ |
|
|
√ |
Function Usage
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 must be used with other APIs to dynamically update variables. For details, see aclmdlBundleLoadFromFile.
Prototype
1
|
aclError aclmdlBundleUnload(uint32_t bundleId) |
Parameters
|
Parameter |
Input/Output |
Description |
|---|---|---|
|
bundleId |
Input |
Bundle ID returned after a model is successfully loaded through aclmdlBundleLoadFromFile or aclmdlBundleLoadFromMem. |
Returns
0 on success; else, failure. For details, see aclError.