"src/vscode:/vscode.git/clone" did not exist on "e15a8e7f17529ebf4029eed07f982e14c7560546"
Commit a9d4d469 authored by rusty1s's avatar rusty1s
Browse files

typo

parent 26fa1b3e
...@@ -19,9 +19,10 @@ def weight2metis(weight: torch.Tensor) -> Optional[torch.Tensor]: ...@@ -19,9 +19,10 @@ def weight2metis(weight: torch.Tensor) -> Optional[torch.Tensor]:
return weight_ratio.to(torch.long) return weight_ratio.to(torch.long)
def partition(src: SparseTensor, num_parts: int, recursive: bool = False, def partition(
weighted=False src: SparseTensor, num_parts: int, recursive: bool = False,
) -> Tuple[SparseTensor, torch.Tensor, torch.Tensor]: weighted: bool = False
) -> Tuple[SparseTensor, torch.Tensor, torch.Tensor]:
assert num_parts >= 1 assert num_parts >= 1
if num_parts == 1: if 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