set_graph_attr_bool
Applicable Products
All processors
Function Usage
Sets the bool attribute for a graph.
Prototype
1 | set_graph_attr_bool(attr_name: str, value: bool) -> None |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
attr_name |
Input |
Attribute name. |
value |
Input |
Boolean value. |
Returns
None
Restrictions
- If the parameter type is incorrect, TypeError is thrown.
- If the setting fails, RuntimeError is thrown.
Parent topic: GraphBuilder