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
8b35cbc8
Unverified
Commit
8b35cbc8
authored
Aug 06, 2023
by
Andrei Ivanov
Committed by
GitHub
Aug 07, 2023
Browse files
Improving the DEEPWALK example. (#6070)
Co-authored-by:
Hongzhi (Steve), Chen
<
chenhongzhi.nkcs@gmail.com
>
parent
a1a3ce89
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/pytorch/ogb/deepwalk/reading_data.py
examples/pytorch/ogb/deepwalk/reading_data.py
+1
-1
No files found.
examples/pytorch/ogb/deepwalk/reading_data.py
View file @
8b35cbc8
...
@@ -117,7 +117,7 @@ def net2graph(net_sm):
...
@@ -117,7 +117,7 @@ def net2graph(net_sm):
G DGLGraph : graph by DGL
G DGLGraph : graph by DGL
"""
"""
start
=
time
.
time
()
start
=
time
.
time
()
G
=
dgl
.
DGLGraph
(
net_sm
)
G
=
dgl
.
from_scipy
(
net_sm
)
end
=
time
.
time
()
end
=
time
.
time
()
t
=
end
-
start
t
=
end
-
start
print
(
"Building DGLGraph in %.2fs"
%
t
)
print
(
"Building DGLGraph in %.2fs"
%
t
)
...
...
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