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 e09be28 commit 5aa0b12Copy full SHA for 5aa0b12
src/layers/normalise.jl
@@ -37,7 +37,6 @@ function dropout(rng, x, p; dims=:, active::Bool=true)
37
return x .* y
38
end
39
dropout(x, p; kwargs...) = dropout(rng_from_array(x), x, p; kwargs...)
40
-dropout(x::CuArray, p; kwargs...) = dropout(rng_from_array(x), x, p; kwargs...)
41
42
@adjoint function dropout(rng, x, p; dims=:, active::Bool=true)
43
active || return x, Δ -> (Δ, nothing)
0 commit comments