EsSetBoolAttrForGraph
Applicability
Product |
Supported or Not |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Header File/Library File
- Header file: #include <ge/esb_funcs.h>
- Library files: libeager_style_graph_builder_base.so and libeager_style_graph_builder_base_static.a
Function Usage
Sets the Bool attribute of a graph.
Prototype
1 | uint32_t EsSetBoolAttrForGraph(EsCGraphBuilder *graph, const char *attr_name, bool value) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
graph |
Input |
Pointer to the graph builder. |
attr_name |
Input |
Attribute name. |
value |
Input |
Attribute value. |
Returns
Parameter |
Type |
Description |
|---|---|---|
- |
uint32_t |
0: success; non-zero value: failure |
Constraints
None
Parent topic: C/C++ APIs