Skip to content

Commit

Permalink
Add rng
Browse files Browse the repository at this point in the history
Co-authored-by: Carlo Lucibello <[email protected]>
  • Loading branch information
aurorarossi and CarloLucibello authored Nov 7, 2024
1 parent 9c78897 commit 7a6c6e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GNNLux/src/layers/conv.jl
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ rng = Random.default_rng()
s = [1,1,2,3]
t = [2,3,1,1]
g = GNNGraph(s, t)
x = randn(Float32, 3, g.num_nodes)
x = randn(rng, Float32, 3, g.num_nodes)
# create layer
l = GCNConv(3 => 5)
Expand Down

0 comments on commit 7a6c6e4

Please sign in to comment.