Function: dump_unreg_callback

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

Deregisters the dump data callback function.

The function: init_dump, function: dump_reg_callback (the callback function registered through this API needs to be implemented by the user. The implementation logic of the callback function includes obtaining the dump data and data length), function: dump_unreg_callback, and function: finalize_dump APIs are used together to obtain dump data through the callback function. The following are some example scenarios:

Prototype

  • C Prototype

    void acldumpUnregCallback()
    
  • Python Function

    acl.mdl.dump_unreg_callback()
    

Parameters

None

Return Values

None

Constraints

acl.mdl.dump_unreg_callback must be used together with acl.mdl.dump_reg_callback and is valid only after acl.mdl.dump_reg_callback is called.