Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aurorarossi committed Jan 3, 2025
1 parent a173306 commit 4adef57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GNNLux/test/layers/pool.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
x = randn(rng, Float32, in_dims, 10)

@testset "GlobalPool" begin
l = GNNLux.GlobalPool(mean)
l = GlobalPool(mean)
test_lux_layer(rng, l, g, x, sizey=(in_dims,1))
end
@testset "GlobalAttentionPool" begin
fgate = Dense(in_dims, 1)
ffeat = Dense(in_dims, in_dims)
l = GNNLux.GlobalAttentionPool(fgate, ffeat)
l = GlobalAttentionPool(fgate, ffeat)
test_lux_layer(rng, l, g, x, sizey=(in_dims,1), container=true)
end
end
Expand Down

0 comments on commit 4adef57

Please sign in to comment.