Skip to content

Commit 282c0cb

Browse files
authored
Update gnngraph.jl (#381)
1 parent 3fa07fa commit 282c0cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GNNGraphs/gnngraph.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ g.edata.z = rand(16, g.num_edges)
9595
g = GNNGraph(g, ndata = rand(100, g.num_nodes), edata = rand(16, g.num_edges))
9696
9797
g.ndata.x # or just g.x
98-
g.ndata.e # or just g.e
98+
g.edata.e # or just g.e
9999
100100
# Send to gpu
101101
g = g |> gpu

0 commit comments

Comments
 (0)