Function Usage
Performs global deinitialization such as releasing log and device resources. This API works with the global initialization API (mx_init()).
- Allocating device resources involve the classes of Tensor, Model, Image, ImageProcessor, VideoEncoder, and VideoDecoder, whose scope conflicts with that of mx_deinit(). The scope of these classes must be smaller than that of mx_deinit().
- After mx_deinit() is executed, the log level becomes invalid and logs cannot be flushed to drives.
Response Parameters
Data Structure
|
Description
|
int
|
Error code returned during program execution.
|