mlx_graphs.data.batch.batch

Contents

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:

GraphDataBatch

Returns:

GraphDataBatch storing a large batched graph