We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 004b369 commit ce0e64cCopy full SHA for ce0e64c
src/layers/normalise.jl
@@ -131,15 +131,15 @@ Does nothing to the input once [`testmode!`](@ref) is true.
131
```jldoctest
132
julia> using Statistics
133
134
-julia> x = randn(20,1);
+julia> x = randn(1000,1);
135
136
-julia> m = Chain(Dense(20 => 10, selu), AlphaDropout(0.5));
+julia> m = Chain(Dense(1000 => 1000, selu), AlphaDropout(0.2));
137
138
julia> Flux.trainmode!(m);
139
140
julia> y = m(x);
141
142
-julia> isapprox(std(x), std(y), atol=0.6)
+julia> isapprox(std(x), std(y), atol=0.2)
143
true
144
```
145
"""
0 commit comments