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
2ba6da8a
Commit
2ba6da8a
authored
Dec 28, 2017
by
rusty1s
Browse files
typo
parent
bdb05cec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
torch_scatter/functions/scatter.py
torch_scatter/functions/scatter.py
+1
-1
No files found.
torch_scatter/functions/scatter.py
View file @
2ba6da8a
...
...
@@ -89,7 +89,7 @@ class _Scatter(Function):
data
=
(
index
.
data
,
data
[
0
],
arg
.
data
)
grad_input
=
index_backward
(
self
.
dim
,
*
data
)
# Return and fill with empty grads for non
e
-differentiable passed
# Return and fill with empty grads for non-differentiable passed
# arguments in forward pass.
return
(
grad_output
,
None
,
grad_input
)
+
(
None
,
)
*
(
self
.
len
-
3
)
...
...
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