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
fa633471
"git@developer.sourcefind.cn:change/sglang.git" did not exist on "de167cf5faff8977e9decf573c1a313b146cc48a"
Commit
fa633471
authored
May 28, 2018
by
rusty1s
Browse files
no inline
parent
a2c9a29b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
torch_spline_conv/conv.py
torch_spline_conv/conv.py
+2
-2
No files found.
torch_spline_conv/conv.py
View file @
fa633471
...
@@ -72,10 +72,10 @@ class SplineConv(object):
...
@@ -72,10 +72,10 @@ class SplineConv(object):
# Weight root node separately (if wished).
# Weight root node separately (if wished).
if
root_weight
is
not
None
:
if
root_weight
is
not
None
:
out
+
=
torch
.
mm
(
src
,
root_weight
)
out
=
out
+
torch
.
mm
(
src
,
root_weight
)
# Add bias (if wished).
# Add bias (if wished).
if
bias
is
not
None
:
if
bias
is
not
None
:
out
+
=
bias
out
=
out
+
bias
return
out
return
out
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