Commit cb1e30da authored by rusty1s's avatar rusty1s
Browse files

typo2

parent 3dead4d1
......@@ -21,7 +21,7 @@ def weight2metis(weight: torch.Tensor) -> Optional[torch.Tensor]:
def partition(
src: SparseTensor, num_parts: int, recursive: bool = False,
weighted: bool = False, node_weight: torch.Tensor = None
weighted: bool = False, node_weight: Optional[torch.Tensor] = None
) -> Tuple[SparseTensor, torch.Tensor, torch.Tensor]:
assert num_parts >= 1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment