Function: finalize_dump

Applicable Products

  • Ascend 950PR&950DT products: Supported
  • Atlas A3 products: supported
  • Atlas A2 products: Supported
  • Atlas 200I/500 A2 inference products: Supported
  • Atlas inference products: Supported
  • Atlas training products: Supported

Function

Deinitializes dump.

Prototype

  • C Prototype

    aclError aclmdlFinalizeDump()
    
  • Python Function

    ret = acl.mdl.finalize_dump()
    

Parameters

None

Return Values

Return Value Description
ret Int, error code. If 0 is returned, the operation is successful. If other values are returned, the operation fails.

Constraints

Reference

acl.init is also available. During initialization, the dump configuration is passed through a JSON file to dump the data at runtime. In this mode, acl.init can be called only once in a process. You can modify the dump configuration in the JSON file.