Comment

Function

Sets the comment of an operator attribute.

Prototype

1
OpAttrDef &Comment(const char *comment)

Parameters

Parameter

Input/Output

Description

comment

Input

Comment content.

Returns

Operator attribute definition. For details about OpAttrDef, see OpAttrDef.

Constraints

None

Examples

1
this->Attr("attrname").Comment("Attr cmt 1");