"docs/source/vscode:/vscode.git/clone" did not exist on "98e11533e266c5b30b60d3852bc9f76c6ca2898f"
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): ...@@ -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)
......
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