Skip to content

Commit c0cf5cd

Browse files
doc fixes
1 parent e2b3f2c commit c0cf5cd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/src/gnngraph.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ using Flux
7878
gall = Flux.batch([GNNGraph(erdos_renyi(10, 30), ndata=rand(Float32,3,10)) for _ in 1:160])
7979

8080
g23 = getgraph(gall, 2:3)
81-
@assert g23.num_graphs == 16
82-
@assert g23.num_nodes == 32
83-
@assert g23.num_edges == 60
81+
@assert g23.num_graphs == 2
82+
@assert g23.num_nodes == 20
83+
@assert g23.num_edges == 120 # 30 undirected edges x 2 graphs
8484

8585

8686
# DataLoader compatibility

0 commit comments

Comments
 (0)