"git@developer.sourcefind.cn:OpenDAS/mmdetection3d.git" did not exist on "900a627c9de9d177b4a5d8e81fa2e2a15a22d3b7"
Commit 44d3103d authored by rusty1s's avatar rusty1s
Browse files

added headers

parent 0e482107
...@@ -6,10 +6,22 @@ ...@@ -6,10 +6,22 @@
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
* `scatter_add`
* `scatter_sub`
* `scatter_mul`
* `scatter_div`
* `scatter_mean`
* `scatter_min`
* `scatter_max`
## Installation
```sh ```sh
pip install torch_scatter python setup.py install
``` ```
## Usage
```py ```py
from torch_scatter import scatter_max from torch_scatter import scatter_max
...@@ -30,3 +42,9 @@ print(argmax) ...@@ -30,3 +42,9 @@ print(argmax)
1 4 3 -1 -1 -1 1 4 3 -1 -1 -1
[torch.LongTensor of size 2x6] [torch.LongTensor of size 2x6]
``` ```
## Running tests
```sh
python setup.py test
```
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