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
b5bffba1
Commit
b5bffba1
authored
Dec 20, 2017
by
rusty1s
Browse files
typo
parent
8745c959
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
torch_scatter/functions/__init__.py
torch_scatter/functions/__init__.py
+2
-2
No files found.
torch_scatter/functions/__init__.py
View file @
b5bffba1
...
@@ -16,8 +16,8 @@ def scatter_add_(output, index, input, dim=0):
...
@@ -16,8 +16,8 @@ def scatter_add_(output, index, input, dim=0):
size :math:`(x_0, ..., x_{i-1}, y, x_{i+1}, ..., x_{n-1})`. Moreover, the
size :math:`(x_0, ..., x_{i-1}, y, x_{i+1}, ..., x_{n-1})`. Moreover, the
values of :attr:`index` must be between `0` and `output.size(dim) - 1`.
values of :attr:`index` must be between `0` and `output.size(dim) - 1`.
For one-dimensional tensors, the
formula is given by
For one-dimensional tensors, the
operation computes
:math:`output_i = output_i + \sum_j input_j` where sum is over
:math:`output_i = output_i + \sum_j input_j`
,
where sum is over
:math:`j` such that :math:`index_j = i`.
:math:`j` such that :math:`index_j = i`.
Args:
Args:
...
...
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