Function: destroy_config_handle

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

Destroys data of the aclmdlConfigHandle type created by the acl.mdl.create_config_handle call.

Prototype

  • C Prototype

    aclError aclmdlDestroyConfigHandle(aclmdlConfigHandle *handle)
    
  • Python Function

    ret = acl.mdl.destroy_config_handle(config_handle)
    

Parameters

Parameter Description
config_handle Int, pointer address of the aclmdlConfigHandle type to be destroyed.

Return Values

Return Value Description
ret Int, error code: 0 on success; else, failure.