From 7a6c6e4cf6ad9a081606a0aee91ed0c593e4730d Mon Sep 17 00:00:00 2001 From: Aurora Rossi <65721467+aurorarossi@users.noreply.github.com> Date: Thu, 7 Nov 2024 23:13:37 +0100 Subject: [PATCH] Add rng Co-authored-by: Carlo Lucibello --- GNNLux/src/layers/conv.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GNNLux/src/layers/conv.jl b/GNNLux/src/layers/conv.jl index d042f32b5..274115731 100644 --- a/GNNLux/src/layers/conv.jl +++ b/GNNLux/src/layers/conv.jl @@ -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)