Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
torch-scatter
Commits
3b2dee22
"git@developer.sourcefind.cn:OpenDAS/nerfacc.git" did not exist on "e6647a003f37a7141d0d8b8ec63770ee1c59b724"
Commit
3b2dee22
authored
Dec 27, 2017
by
rusty1s
Browse files
added description
parent
c8893e9e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
README.md
README.md
+6
-1
setup.cfg
setup.cfg
+4
-1
No files found.
README.md
View file @
3b2dee22
...
@@ -11,6 +11,9 @@
...
@@ -11,6 +11,9 @@
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
This package consists of a small extension library of highly optimised sparse update operations for the use in
[
PyTorch
](
http://pytorch.org/
)
.
It consists of the following operations:
*
`scatter_add`
*
`scatter_add`
*
`scatter_sub`
*
`scatter_sub`
*
`scatter_mul`
*
`scatter_mul`
...
@@ -19,13 +22,15 @@
...
@@ -19,13 +22,15 @@
*
`scatter_min`
*
`scatter_min`
*
`scatter_max`
*
`scatter_max`
All included
`scatter`
ops work on varying data types, are implemented both for CPU and GPU and include a backwards implementation.
## Installation
## Installation
```
sh
```
sh
python setup.py
install
python setup.py
install
```
```
##
Usag
e
##
Exampl
e
```
py
```
py
from
torch_scatter
import
scatter_max
from
torch_scatter
import
scatter_max
...
...
setup.cfg
View file @
3b2dee22
[metadata]
description-file = README.md
[aliases]
[aliases]
test
=
pytest
test
=
pytest
[tool:pytest]
[tool:pytest]
addopts = --capture=no --cov
addopts = --capture=no --cov
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment