diff --git a/test/layers/normalisation.jl b/test/layers/normalisation.jl index 7307f3ae85..5e68a22350 100644 --- a/test/layers/normalisation.jl +++ b/test/layers/normalisation.jl @@ -1,7 +1,7 @@ using Flux, Test, Statistics, Random using Zygote: pullback, ForwardDiff -global evalwgrad(f, x...) = pullback(f, x...)[1] +evalwgrad(f, x...) = pullback(f, x...)[1] @testset "Dropout" begin @testset for rng_kwargs in ((), (; rng = MersenneTwister()))