MxDeInit

Function Usage

Performs global deinitialization such as releasing log and device resources. This API works with the global initialization API (MxInit or MxInitFromConfig). For details, see Initialization and Deinitialization.

  • Allocating device resources involve the classes of Tensor, Model, Image, ImageProcessor, VideoEncoder, and VideoDecoder, whose scope conflicts with that of MxDeInit. The scope of these classes must be smaller than that of MxDeInit.
  • After MxDeInit is executed, the log level becomes invalid and logs cannot be flushed to disks.

Prototype

1
APP_ERROR MxDeInit();

Response Parameters

Data Structure

Description

APP_ERROR

For details about the returned error codes, see APP_ERROR Description.