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
711bc05c
"git@developer.sourcefind.cn:OpenDAS/torch-sparce.git" did not exist on "15ff09d58fdd5e71f437932a1726b904d181b5b1"
Commit
711bc05c
authored
Aug 24, 2021
by
rusty1s
Browse files
fix typo
parent
504da5eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
torch_scatter/scatter.py
torch_scatter/scatter.py
+1
-1
No files found.
torch_scatter/scatter.py
View file @
711bc05c
...
...
@@ -99,7 +99,7 @@ def scatter(src: torch.Tensor, index: torch.Tensor, dim: int = -1,
and :attr:`dim` = `i`, then :attr:`out` must be an :math:`n`-dimensional
tensor with size :math:`(x_0, ..., x_{i-1}, y, x_{i+1}, ..., x_{n-1})`.
Moreover, the values of :attr:`index` must be between :math:`0` and
:math:`y - 1`
in ascending order
.
:math:`y - 1`
, although no specific ordering of indices is required
.
The :attr:`index` tensor supports broadcasting in case its dimensions do
not match with :attr:`src`.
...
...
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