AttrName
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 name.
Prototype
1 | IrAttrDefV2 &AttrName(const char_t *attr_name) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
attr_name |
Input |
Attribute name, which identifies the name of the attribute in the operator. |
Returns
Parameter |
Type |
Description |
|---|---|---|
- |
IrAttrDefV2 & |
Reference to the IR attribute definition class, which supports chain calls. |
Restrictions
None
Parent topic: IrAttrDefV2