Function: finalize_dump

Applicable Products

Product

Supported (√/x)

Ascend 950PR/Ascend 950DT

Atlas A3 training products/Atlas A3 inference products

Atlas A2 training products/Atlas A2 inference products

Atlas training products

Atlas inference products

Atlas 200I/500 A2 inference products

Description

Deinitializes the dump.

Prototype

  • C Prototype
    1
    aclError aclmdlFinalizeDump()
    
  • Python Function
    1
    ret = acl.mdl.finalize_dump()
    

Parameters

None

Return Values

Return Value

Description

ret

Int, error code. 0 on success; else, failure.

Restrictions

Reference

In addition, the acl.init API is provided. During initialization, the dump configuration is transferred through the *.json file. After the application is run, the dump data is obtained. In this mode, the acl.init API can be called only once in a process. To modify the dump configuration, modify the configuration in the *.json file.