AttrType
Applicable Products
All processors
Header File/Library File
- Header file: #include <ge/compliant_node_builder.h>
- Library files: libeager_style_graph_builder_base.so and libeager_style_graph_builder_base_static.a
Function Usage
Sets the attribute type (mandatory/optional).
Prototype
1 | IrAttrDefV2 &AttrType(IrAttrType ir_attr_type) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
ir_attr_type |
Input |
Enumerated value of the IR attribute type. See IrAttrType. |
Returns
Parameter |
Type |
Description |
|---|---|---|
- |
IrAttrDefV2 & |
Reference to the IR attribute definition class, which supports chain calls. |
Restrictions
None
Parent topic: IrAttrDefV2