We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f9f19eb commit ba9cfabCopy full SHA for ba9cfab
torch_scatter/segment_csr.py
@@ -55,7 +55,7 @@ def segment_csr(src: torch.Tensor, indptr: torch.Tensor,
55
size :math:`(x_0, ..., x_{m-1}, x_m, x_{m+1}, ..., x_{n-1})` and
56
:math:`(x_0, ..., x_{m-2}, y)`, respectively, then :attr:`out` must be an
57
:math:`n`-dimensional tensor with size
58
- :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})`.
59
Moreover, the values of :attr:`indptr` must be between :math:`0` and
60
:math:`x_m` in ascending order.
61
The :attr:`indptr` tensor supports broadcasting in case its dimensions do
0 commit comments