separate_shapes¶
- separate_shapes(shape_batch)[source]¶
Splits a batched GraphShape into individual GraphShape instances.
- Parameters:
shape_batch (GraphShape) – GraphShape with 2D hyper-edge sets and address arrays.
- Returns:
List of GraphShape (one per batch).
- Raises:
ValueError – If input is not batched.
- Return type:
list[GraphShape]