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
27f8fa35
Unverified
Commit
27f8fa35
authored
Jan 15, 2021
by
Matthias Fey
Committed by
GitHub
Jan 15, 2021
Browse files
Merge pull request #190 from mversionpenny/patch-1
Changes in the documentation of segment_csr
parents
335525a7
c0e1a8b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
torch_scatter/segment_csr.py
torch_scatter/segment_csr.py
+1
-1
No files found.
torch_scatter/segment_csr.py
View file @
27f8fa35
...
...
@@ -64,7 +64,7 @@ def segment_csr(src: torch.Tensor, indptr: torch.Tensor,
.. math::
\mathrm{out}_i =
\sum_{j = \mathrm{indptr}[i]}^{\mathrm{indptr}[i+
i]
}~\mathrm{src}_j.
\sum_{j = \mathrm{indptr}[i]}^{\mathrm{indptr}[i+
1]-1
}~\mathrm{src}_j.
Due to the use of index pointers, :meth:`segment_csr` is the fastest
method to apply for grouped reductions.
...
...
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