Skip to content

Commit 7a6c6e4

Browse files
Add rng
Co-authored-by: Carlo Lucibello <[email protected]>
1 parent 9c78897 commit 7a6c6e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

GNNLux/src/layers/conv.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ rng = Random.default_rng()
5656
s = [1,1,2,3]
5757
t = [2,3,1,1]
5858
g = GNNGraph(s, t)
59-
x = randn(Float32, 3, g.num_nodes)
59+
x = randn(rng, Float32, 3, g.num_nodes)
6060
6161
# create layer
6262
l = GCNConv(3 => 5)

0 commit comments

Comments
 (0)