Function: dump_unreg_callback

Applicability

Product

Supported (√/x)

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

√

Function Usage

Deregisters the dump data callback function.

Function: init_dump, Function: dump_reg_callback, Function: dump_unreg_callback, and Function: finalize_dump work together to obtain dump data through a callback function. The callback function registered through Function: dump_reg_callback needs to be implemented by users, and the implementation logic of the callback function must include the acquisition of 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()
    

Parameter Description

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.