remove unnecessary helper for AlphaDropout

This commit is contained in:
Ian 2020-03-03 13:20:02 -05:00
parent 078ad7dd50
commit 61f66e3dcd
1 changed files with 0 additions and 3 deletions

View File

@ -80,9 +80,6 @@ mutable struct AlphaDropout{F}
end end
end end
# TODO: deprecate in v0.11
AlphaDropout(p) = AlphaDropout(p, nothing)
function (a::AlphaDropout)(x) function (a::AlphaDropout)(x)
_isactive(a) || return x _isactive(a) || return x
λ = eltype(x)(1.0507009873554804934193349852946) λ = eltype(x)(1.0507009873554804934193349852946)