| 1 |
:github_url: https://github.com/rusty1s/pytorch_scatter |
| 2 |
|
| 3 |
PyTorch Scatter Documentation |
| 4 |
============================= |
| 5 |
|
| 6 |
This package consists of a small extension library of highly optimized sparse update (scatter and segment) operations for the use in `PyTorch <http://pytorch.org/>`_, which are missing in the main package. |
| 7 |
Scatter and segment operations can be roughly described as reduce operations based on a given "group-index" tensor. |
| 8 |
Segment operations require the "group-index" tensor to be sorted, whereas scatter operations are not subject to these requirements. |
| 9 |
|
| 10 |
All included operations are broadcastable, work on varying data types, are implemented both for CPU and GPU with corresponding backward implementations, and are fully traceable. |
| 11 |
|
| 12 |
.. toctree:: |
| 13 |
:glob: |
| 14 |
:maxdepth: 0 |
| 15 |
:caption: Package reference |
| 16 |
|
| 17 |
functions/scatter |
| 18 |
functions/segment_coo |
| 19 |
functions/segment_csr |
| 20 |
functions/composite |
| 21 |
|
| 22 |
Indices and tables |
| 23 |
================== |
| 24 |
|
| 25 |
* :ref:`genindex` |
| 26 |
* :ref:`modindex` |