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
de5543e3
Unverified
Commit
de5543e3
authored
May 17, 2022
by
Mufei Li
Committed by
GitHub
May 17, 2022
Browse files
Update functional.py (#4015)
parent
bacf2ab4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
python/dgl/transforms/functional.py
python/dgl/transforms/functional.py
+5
-1
No files found.
python/dgl/transforms/functional.py
View file @
de5543e3
...
@@ -21,7 +21,11 @@ import copy
...
@@ -21,7 +21,11 @@ import copy
import
numpy
as
np
import
numpy
as
np
import
scipy.sparse
as
sparse
import
scipy.sparse
as
sparse
import
scipy.sparse.linalg
import
scipy.sparse.linalg
import
torch
as
th
try
:
import
torch
as
th
except
ImportError
:
pass
from
.._ffi.function
import
_init_api
from
.._ffi.function
import
_init_api
from
..base
import
dgl_warning
,
DGLError
,
NID
,
EID
from
..base
import
dgl_warning
,
DGLError
,
NID
,
EID
...
...
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