Graph.pad¶
- Graph.pad(target_shape)[source]¶
Pads hyper-edge sets and address mask to match target_shape.
- Parameters:
target_shape (GraphShape) – Desired GraphShape with larger dimensions.
- Raises:
ValueError – If the graph is not single.
Pads hyper-edge sets and address mask to match target_shape.
target_shape (GraphShape) – Desired GraphShape with larger dimensions.
ValueError – If the graph is not single.