Skip to content

Commit 5aa0b12

Browse files
committed
Remove redundant method
1 parent e09be28 commit 5aa0b12

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/layers/normalise.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ function dropout(rng, x, p; dims=:, active::Bool=true)
3737
return x .* y
3838
end
3939
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...)
4140

4241
@adjoint function dropout(rng, x, p; dims=:, active::Bool=true)
4342
active || return x, Δ -> (Δ, nothing)

0 commit comments

Comments
 (0)