IrDefAttrs
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
IR attribute specifications.
Note: This API has been deprecated. You are advised to use the ABI-safe IrDefAttrsV2 API (see IrDefAttrsV2).
Prototype
1 | CompliantNodeBuilder &IrDefAttrs(std::vector<IrAttrDef> attr_ir_def) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
attr_ir_def |
Input |
IR attribute definition vector. |
Returns
Parameter |
Type |
Description |
|---|---|---|
- |
CompliantNodeBuilder & |
Reference to the current builder object, which supports chain calls. |
Restrictions
None
Parent topic: CompliantNodeBuilder