Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
torch-scatter
Commits
b5c89536
"vscode:/vscode.git/clone" did not exist on "35d39735da9013a953959ae04dfd12db25200cb4"
Commit
b5c89536
authored
Sep 02, 2019
by
rusty1s
Browse files
changed fill_value
parent
d8470875
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
README.md
README.md
+1
-1
No files found.
README.md
View file @
b5c89536
...
...
@@ -70,7 +70,7 @@ from torch_scatter import scatter_max
src
=
torch
.
tensor
([[
2
,
0
,
1
,
4
,
3
],
[
0
,
2
,
1
,
3
,
4
]])
index
=
torch
.
tensor
([[
4
,
5
,
4
,
2
,
3
],
[
0
,
0
,
2
,
2
,
1
]])
out
,
argmax
=
scatter_max
(
src
,
index
)
out
,
argmax
=
scatter_max
(
src
,
index
,
fill_value
=
0
)
```
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment