aclmdlInitDump

Applicability

Product

Supported

Atlas A3 training products/Atlas A3 inference products

Atlas A2 training products/Atlas A2 inference products

Atlas 200I/500 A2 inference products

Atlas inference products

Atlas training products

Description

Initializes the dump.

This API needs to be used with other APIs to implement the following functions:

Prototype

aclError aclmdlInitDump()

Parameters

None

Returns

0 on success; else, failure. For details, see aclError.

Restrictions

  • If information about the model, single-operator, and overflow/underflow operator dump configurations has been configured by the aclInit call, a failure message is returned when aclmdlInitDump is called.
  • aclmdlInitDump must be called after the aclInit call and before the model loading API call.

See Also

Currently, the aclInit API is also provided. During initialization, the dump configuration is passed as a JSON configuration file to dump the app data at runtime. In this mode, aclInit can be called only once in a process. To change the dump configuration, modify the JSON configuration file.