Function: create_attr

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

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()
    

Parameter Description

None.

Return Value Description

Return Value

Description

attr

Int, pointer address of aclopAttr type data.