Skip to content

Commit d125544

Browse files
authored
rm const Adam = Adam (#87)
1 parent 17102dc commit d125544

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/rules.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,6 @@ struct Adam{T} <: AbstractRule
155155
end
156156
Adam= 1f-3, β = (9f-1, 9.99f-1), ϵ = eps(typeof(η))) = Adam{typeof(η)}(η, β, ϵ)
157157

158-
const Adam = Adam
159-
160158
init(o::Adam, x::AbstractArray) = (zero(x), zero(x), o.beta)
161159

162160
function apply!(o::Adam, state, x, dx)

0 commit comments

Comments
 (0)