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
dgl
Commits
a2defae2
You need to sign in or sign up before continuing.
Unverified
Commit
a2defae2
authored
Dec 07, 2022
by
Quan (Andy) Gan
Committed by
GitHub
Dec 07, 2022
Browse files
[Bug] Fix typo in `_gsddmm_hetero` (#4944)
parent
84a12cf6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
python/dgl/sparse.py
python/dgl/sparse.py
+1
-1
No files found.
python/dgl/sparse.py
View file @
a2defae2
...
@@ -605,7 +605,7 @@ def _gsddmm_hetero(
...
@@ -605,7 +605,7 @@ def _gsddmm_hetero(
expand_lhs
=
True
expand_lhs
=
True
if
use_rhs
:
if
use_rhs
:
if
rhs
is
not
None
and
F
.
ndim
(
rhs
)
==
1
:
if
rhs
is
not
None
and
F
.
ndim
(
rhs
)
==
1
:
rhs
=
F
.
unsqueeze
(
l
hs
,
-
1
)
rhs
=
F
.
unsqueeze
(
r
hs
,
-
1
)
expand_rhs
=
True
expand_rhs
=
True
ctx
=
F
.
context
(
lhs
)
if
use_lhs
else
F
.
context
(
rhs
)
ctx
=
F
.
context
(
lhs
)
if
use_lhs
else
F
.
context
(
rhs
)
dtype
=
F
.
dtype
(
lhs
)
if
use_lhs
else
F
.
dtype
(
rhs
)
dtype
=
F
.
dtype
(
lhs
)
if
use_lhs
else
F
.
dtype
(
rhs
)
...
...
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