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
75f1f453
Commit
75f1f453
authored
Dec 27, 2017
by
rusty1s
Browse files
fixed version call
parent
90916b8b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
11 deletions
+4
-11
VERSION
VERSION
+0
-1
setup.py
setup.py
+3
-5
torch_scatter/__init__.py
torch_scatter/__init__.py
+1
-5
No files found.
VERSION
deleted
100644 → 0
View file @
90916b8b
0.1.0
setup.py
View file @
75f1f453
...
@@ -2,12 +2,10 @@ from os import path as osp
...
@@ -2,12 +2,10 @@ from os import path as osp
from
setuptools
import
setup
,
find_packages
from
setuptools
import
setup
,
find_packages
filename
=
osp
.
join
(
osp
.
dirname
(
__file__
),
'VERSION'
)
with
open
(
filename
,
'r'
)
as
f
:
version
=
f
.
read
().
strip
()
import
build
# noqa
import
build
# noqa
__version__
=
'0.1.0'
install_requires
=
[
'cffi'
]
install_requires
=
[
'cffi'
]
setup_requires
=
[
'pytest-runner'
,
'cffi'
]
setup_requires
=
[
'pytest-runner'
,
'cffi'
]
tests_require
=
[
'pytest'
,
'pytest-cov'
]
tests_require
=
[
'pytest'
,
'pytest-cov'
]
...
@@ -15,7 +13,7 @@ docs_require = ['Sphinx', 'sphinx_rtd_theme']
...
@@ -15,7 +13,7 @@ docs_require = ['Sphinx', 'sphinx_rtd_theme']
setup
(
setup
(
name
=
'torch_scatter'
,
name
=
'torch_scatter'
,
version
=
version
,
version
=
__
version
__
,
description
=
'PyTorch extension for various scatter methods'
,
description
=
'PyTorch extension for various scatter methods'
,
url
=
'https://github.com/rusty1s/pytorch_scatter'
,
url
=
'https://github.com/rusty1s/pytorch_scatter'
,
author
=
'Matthias Fey'
,
author
=
'Matthias Fey'
,
...
...
torch_scatter/__init__.py
View file @
75f1f453
from
os
import
path
as
osp
from
.functions.add
import
scatter_add_
,
scatter_add
from
.functions.add
import
scatter_add_
,
scatter_add
from
.functions.sub
import
scatter_sub_
,
scatter_sub
from
.functions.sub
import
scatter_sub_
,
scatter_sub
from
.functions.mul
import
scatter_mul_
,
scatter_mul
from
.functions.mul
import
scatter_mul_
,
scatter_mul
...
@@ -8,9 +6,7 @@ from .functions.mean import scatter_mean_, scatter_mean
...
@@ -8,9 +6,7 @@ from .functions.mean import scatter_mean_, scatter_mean
from
.functions.max
import
scatter_max_
,
scatter_max
from
.functions.max
import
scatter_max_
,
scatter_max
from
.functions.min
import
scatter_min_
,
scatter_min
from
.functions.min
import
scatter_min_
,
scatter_min
filename
=
osp
.
join
(
osp
.
dirname
(
__file__
),
'..'
,
'VERSION'
)
__version__
=
'0.1.0'
with
open
(
filename
,
'r'
)
as
f
:
__version__
=
f
.
read
().
strip
()
__all__
=
[
__all__
=
[
'scatter_add_'
,
'scatter_add'
,
'scatter_sub_'
,
'scatter_sub'
,
'scatter_add_'
,
'scatter_add'
,
'scatter_sub_'
,
'scatter_sub'
,
...
...
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