Skip to content

Commit 0c425c0

Browse files
cleanup
1 parent 34d7183 commit 0c425c0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
1515
MacroTools = "1914dd2f-81c6-5fcd-8719-6d5c9610ff09"
1616
NNlib = "872c559c-99b0-510c-b3b7-b6c96a88d5cd"
1717
NNlibCUDA = "a00861dc-f156-4864-bf3c-e6376f28a68d"
18-
PrettyPrinting = "54e16d92-306c-5ea0-a30b-337be88ac337"
1918
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
2019
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
2120
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
@@ -26,6 +25,7 @@ ChainRulesCore = "1"
2625
DataStructures = "0.18"
2726
Flux = "0.12"
2827
KrylovKit = "0.5"
28+
LearnBase = "0.5"
2929
LightGraphs = "1.3"
3030
MacroTools = "0.5"
3131
NNlib = "0.7"

src/gnngraph.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,11 @@ g = GNNGraph(s, t)
7979
# From a LightGraphs' graph
8080
g = GNNGraph(erdos_renyi(100, 20))
8181
82-
# Add node 2 node feature arrays
82+
# Add 2 node feature arrays
8383
g = GNNGraph(g, ndata = (X = rand(100, g.num_nodes), y = rand(g.num_nodes)))
8484
8585
# Add node features and edge features with default names `X` and `E`
86-
g = GNNGraph(g, ndata = rand(100, g.num_nodes), edata = rand(16, g.num_nodes))
86+
g = GNNGraph(g, ndata = rand(100, g.num_nodes), edata = rand(16, g.num_edges))
8787
8888
g.ndata.X
8989
g.ndata.E

0 commit comments

Comments
 (0)