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
17f6c4c9
"vscode:/vscode.git/clone" did not exist on "0b078403ee2f9955a9eb9d612aeb617852930e6e"
Unverified
Commit
17f6c4c9
authored
Aug 01, 2023
by
Andrei Ivanov
Committed by
GitHub
Aug 01, 2023
Browse files
Improving the PAGERANK example. (#6066)
parent
224d6a69
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
examples/pytorch/pagerank.py
examples/pytorch/pagerank.py
+2
-2
No files found.
examples/pytorch/pagerank.py
View file @
17f6c4c9
...
...
@@ -4,8 +4,8 @@ import networkx as nx
import
torch
N
=
100
g
=
nx
.
erdos_renyi_graph
(
N
,
0.05
)
g
=
dgl
.
DGLGraph
(
g
)
network
=
nx
.
erdos_renyi_graph
(
N
,
0.05
)
g
=
dgl
.
from_networkx
(
network
)
DAMP
=
0.85
K
=
10
...
...
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