GraphBuilder.add_groups()#
- GraphBuilder.add_groups(*groups, to_float32=None)[source]#
Adds groups to the graph.
- Parameters:
*groups (
Group) – The groups to add to the graph.to_float32 (
bool|None, default:None) – Whether to convert the dtype of the values of the added nodes from float64 to float32. IfNone(default), the GraphBuilder’s attributeGraphBuilder.to_float32, which is set during initialization will be used instead.
- Return type:
- Returns:
The graph builder.