Comment
Function Usage
Sets the comment of an operator attribute.
Prototype
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
Example
this->Attr("attrname").Comment("Attr cmt 1");
Parent topic: OpAttrDef