Skip to content

Commit b5c8953

Browse files
committed
changed fill_value
1 parent d847087 commit b5c8953

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ from torch_scatter import scatter_max
7070
src = torch.tensor([[2, 0, 1, 4, 3], [0, 2, 1, 3, 4]])
7171
index = torch.tensor([[4, 5, 4, 2, 3], [0, 0, 2, 2, 1]])
7272

73-
out, argmax = scatter_max(src, index)
73+
out, argmax = scatter_max(src, index, fill_value=0)
7474
```
7575

7676
```

0 commit comments

Comments
 (0)