GraphBuilder.add_groups()

GraphBuilder.add_groups()#

GraphBuilder.add_groups(*groups, to_float32=True)[source]#

Adds groups to the graph.

Parameters:
  • *groups (Group) – The groups to add to the graph.

  • to_float32 (bool) – Whether to convert the dtype of the values of the added nodes from float64 to float32. (default: True)

Return type:

GraphBuilder

Returns:

The graph builder.