Skip to content

Commit

Permalink
Update conv_tests.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
rbSparky authored Sep 4, 2024
1 parent 91fed90 commit a587553
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GNNLux/test/layers/conv_tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,11 @@
l = NNConv(n_in => n_out, nn, tanh, aggr = +)
x = randn(Float32, n_in, g2.num_nodes)
e = randn(Float32, n_in_edge, g2.num_edges)
y = l(g, x, e) # just to see if it runs without an error
#y = l(g, x, e) # just to see if it runs without an error
#edim = 10
#nn = Dense(edim, in_dims * out_dims)
#l = NNConv(in_dims => out_dims, nn, tanh, aggr = +)
#test_lux_layer(rng, l, g2, x, sizey=(out_dims, g2.num_nodes), container=true, edge_weight=g2.edata.e)
test_lux_layer(rng, l, g2, x, sizey=(n_out, g2.num_nodes), container=true, edge_weight=g2.edata.e)
end

@testset "MEGNetConv" begin
Expand Down

0 comments on commit a587553

Please sign in to comment.