Function: dump_unreg_callback

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas training product

Atlas inference product

Atlas 200I/500 A2 inference product

Description

Deregisters the dump data callback function.

The Function: init_dump, Function: dump_reg_callback, Function: dump_unreg_callback, and Function: finalize_dump APIs are used together to obtain the dump data by using the callback function. (The callback function registered by using this API needs to be implemented by the user. The implementation logic of the callback function includes obtaining the dump data and data length.) The specific scenarios are exemplified as follows:

Prototype

  • C Prototype
    1
    void acldumpUnregCallback()
    
  • Python Function
    1
    acl.mdl.dump_unreg_callback()
    

Parameters

None

Return Value

None

Restrictions

acl.mdl.dump_unreg_callback must work with acl.mdl.dump_reg_callback and is valid only after acl.mdl.dump_reg_callback is called.