Function: create_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

Creates data of the aclmdlDesc type as a model description.

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

Prototype

  • C Prototype
    1
    aclmdlDesc* aclmdlCreateDesc()
    
  • Python Function
    1
    desc = acl.mdl.create_desc()
    

Parameters

None

Returns

Return Value

Description

desc

Int, address of an object of the aclmdlDesc type.