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
ba9cfabc
Commit
ba9cfabc
authored
Jan 19, 2021
by
rusty1s
Browse files
fix typo
parent
f9f19eb3
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 @
ba9cfabc
...
@@ -55,7 +55,7 @@ def segment_csr(src: torch.Tensor, indptr: torch.Tensor,
...
@@ -55,7 +55,7 @@ def segment_csr(src: torch.Tensor, indptr: torch.Tensor,
size :math:`(x_0, ..., x_{m-1}, x_m, x_{m+1}, ..., x_{n-1})` and
size :math:`(x_0, ..., x_{m-1}, x_m, x_{m+1}, ..., x_{n-1})` and
:math:`(x_0, ..., x_{m-2}, y)`, respectively, then :attr:`out` must be an
:math:`(x_0, ..., x_{m-2}, y)`, respectively, then :attr:`out` must be an
:math:`n`-dimensional tensor with size
:math:`n`-dimensional tensor with size
:math:`(x_0, ..., x_{m-
1
}, y - 1, x_{m
+1
}, ..., x_{n-1})`.
:math:`(x_0, ..., x_{m-
2
}, y - 1, x_{m}, ..., x_{n-1})`.
Moreover, the values of :attr:`indptr` must be between :math:`0` and
Moreover, the values of :attr:`indptr` must be between :math:`0` and
:math:`x_m` in ascending order.
:math:`x_m` in ascending order.
The :attr:`indptr` tensor supports broadcasting in case its dimensions do
The :attr:`indptr` tensor supports broadcasting in case its dimensions do
...
...
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