Unverified Commit 17f6c4c9 authored by Andrei Ivanov's avatar Andrei Ivanov Committed by GitHub
Browse files

Improving the PAGERANK example. (#6066)

parent 224d6a69
...@@ -4,8 +4,8 @@ import networkx as nx ...@@ -4,8 +4,8 @@ import networkx as nx
import torch import torch
N = 100 N = 100
g = nx.erdos_renyi_graph(N, 0.05) network = nx.erdos_renyi_graph(N, 0.05)
g = dgl.DGLGraph(g) g = dgl.from_networkx(network)
DAMP = 0.85 DAMP = 0.85
K = 10 K = 10
......
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