目录

Attr

Function Description

Defines the operator attribute name.

Function Prototype

OpAttrDef &Attr(const char *name);

Parameters

Parameter Input/Output Description
name Input Operator attribute name.

Return Value

Defines the operator attribute OpAttrDef.

Restrictions

The Attr attribute name cannot be the same as a Python keyword or built-in variable name. Otherwise, an undefined error occurs.