Commit 0003e008 authored by rusty1s's avatar rusty1s
Browse files

walk length increased

parent 1dcb3933
......@@ -11,7 +11,7 @@ def test_rw():
start = tensor([0, 1, 2, 3, 4], torch.long, device)
row = tensor([0, 1, 1, 1, 2, 2, 3, 3, 4, 4], torch.long, device)
col = tensor([1, 0, 2, 3, 1, 4, 1, 4, 2, 3], torch.long, device)
walk_length = 2
walk_length = 10
out = random_walk(row, col, start, walk_length)
assert out[:, 0].tolist() == start.tolist()
......
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