Commit 11a454c2 authored by rusty1s's avatar rusty1s
Browse files

added image to doc

parent 95e3536d
This diff is collapsed.
\documentclass[class=minimal]{standalone}
\documentclass[class=minimal, border=5pt]{standalone}
\usepackage{graphicx}
\usepackage{tikz}
......
......@@ -2,7 +2,13 @@ from .utils import gen_output
def scatter_add_(output, index, input, dim=0):
r"""Sums all values from the :attr:`input` tensor into :attr:`output` at the
r"""
.. image:: https://raw.githubusercontent.com/rusty1s/pytorch_scatter/
master/docs/source/_figures/add.svg?sanitize=true
:align: center
:width: 400px
Sums all values from the :attr:`input` tensor into :attr:`output` at the
indices specified in the :attr:`index` tensor along an given axis
:attr:`dim`. For each value in :attr:`input`, its output index is specified
by its index in :attr:`input` for dimensions outside of :attr:`dim` and by
......
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