Function: destroy_desc

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

Function Usage

Destroys data of the aclmdlDesc type created by the acl.mdl.create_desc call.

Prototype

  • C Prototype
    1
    aclError aclmdlDestroyDesc(aclmdlDesc *modelDesc)
    
  • Python Function
    1
    ret = acl.mdl.destroy_desc(model_desc)
    

Parameters

Parameter

Description

model_desc

Int, pointer address of aclmdlDesc to be destroyed.

Returns

Return Value

Description

ret

Int, error code.