Function: destroy_config_handle

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

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

Prototype

  • C Prototype
    1
    aclError aclmdlDestroyConfigHandle(aclmdlConfigHandle *handle)
    
  • Python Function
    1
    ret = acl.mdl.destroy_config_handle(config_handle)
    

Parameter Description

Parameter

Description

config_handle

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

Return Value Description

Return Value

Description

ret

Int, error code: 0 on success; else, failure.