Function: create_desc

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

Creates data of the aclmdlDesc type as a model description.

To destroy data of the aclmdlDesc type, see acl.mdl.destroy_desc.

Prototype

  • C Prototype

    aclmdlDesc* aclmdlCreateDesc()
    
  • Python Function

    desc = acl.mdl.create_desc()
    

Parameters

None

Return Values

Return Value Description
desc Int, address of an object of the aclmdlDesc type.