Function: create_attr

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 aclopAttr type to store operator attributes.

To destroy data of the aclopAttr type, see acl.op.destroy_attr.

Prototype

  • C Prototype
    1
    aclopAttr *aclopCreateAttr()
    
  • Python Function
    1
    attr = acl.op.create_attr()
    

Parameters

None

Returns

Return Value

Description

attr

Int, pointer address of aclopAttr type data.