Unverified Commit 8b35cbc8 authored by Andrei Ivanov's avatar Andrei Ivanov Committed by GitHub
Browse files

Improving the DEEPWALK example. (#6070)


Co-authored-by: default avatarHongzhi (Steve), Chen <chenhongzhi.nkcs@gmail.com>
parent a1a3ce89
......@@ -117,7 +117,7 @@ def net2graph(net_sm):
G DGLGraph : graph by DGL
"""
start = time.time()
G = dgl.DGLGraph(net_sm)
G = dgl.from_scipy(net_sm)
end = time.time()
t = end - start
print("Building DGLGraph in %.2fs" % t)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment