mlx_graphs.data.batch.batch#
- mlx_graphs.data.batch.batch(graphs: list[GraphData]) GraphDataBatch [source]#
Constructs a GraphDataBatch object from a list of GraphData.
- Parameters:
batch – List of GraphData to merge into a single batch
- Return type:
- Returns:
GraphDataBatch storing a large batched graph