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-spline-conv
Commits
6146660b
Commit
6146660b
authored
Apr 10, 2018
by
rusty1s
Browse files
linting
parent
b5ac9f33
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
test/test_conv.py
test/test_conv.py
+4
-4
torch_spline_conv/conv.py
torch_spline_conv/conv.py
+4
-1
No files found.
test/test_conv.py
View file @
6146660b
torch_spline_conv/conv.py
View file @
6146660b
# import torch
def
spline_conv
(
x
,
def
spline_conv
(
x
,
edge_index
,
edge_index
,
pseudo
,
pseudo
,
...
@@ -7,4 +10,4 @@ def spline_conv(x,
...
@@ -7,4 +10,4 @@ def spline_conv(x,
degree
=
1
,
degree
=
1
,
root_weight
=
None
,
root_weight
=
None
,
bias
=
None
):
bias
=
None
):
p
ass
p
seudo
=
pseudo
.
unsqueeze
(
-
1
)
if
pseudo
.
dim
()
==
1
else
pseudo
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