Commit b5bffba1 authored by rusty1s's avatar rusty1s
Browse files

typo

parent 8745c959
...@@ -16,8 +16,8 @@ def scatter_add_(output, index, input, dim=0): ...@@ -16,8 +16,8 @@ def scatter_add_(output, index, input, dim=0):
size :math:`(x_0, ..., x_{i-1}, y, x_{i+1}, ..., x_{n-1})`. Moreover, the size :math:`(x_0, ..., x_{i-1}, y, x_{i+1}, ..., x_{n-1})`. Moreover, the
values of :attr:`index` must be between `0` and `output.size(dim) - 1`. values of :attr:`index` must be between `0` and `output.size(dim) - 1`.
For one-dimensional tensors, the formula is given by For one-dimensional tensors, the operation computes
:math:`output_i = output_i + \sum_j input_j` where sum is over :math:`output_i = output_i + \sum_j input_j`, where sum is over
:math:`j` such that :math:`index_j = i`. :math:`j` such that :math:`index_j = i`.
Args: Args:
......
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