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
306bb3f9
Commit
306bb3f9
authored
May 30, 2019
by
Mufei Li
Committed by
Minjie Wang
May 29, 2019
Browse files
[Bugfix] Fix minigc (#585)
parent
21e172d0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
python/dgl/data/minigc.py
python/dgl/data/minigc.py
+1
-1
No files found.
python/dgl/data/minigc.py
View file @
306bb3f9
...
...
@@ -143,6 +143,6 @@ class MiniGCDataset(object):
def
_gen_circular_ladder
(
self
,
n
):
for
_
in
range
(
n
):
num_v
=
np
.
random
.
randint
(
self
.
min_num_v
,
self
.
max_num_v
)
g
=
nx
.
circular_ladder_graph
(
num_v
)
g
=
nx
.
circular_ladder_graph
(
num_v
//
2
)
self
.
graphs
.
append
(
g
)
self
.
labels
.
append
(
7
)
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