Commit ba9cfabc authored by rusty1s's avatar rusty1s
Browse files

fix typo

parent f9f19eb3
...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment