Skip to content

Commit 6b935bd

Browse files
committed
add deprecations
1 parent d1cfed7 commit 6b935bd

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/deprecations.jl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,12 @@ LSTMCell(in::Integer, out::Integer; kw...) = LSTMCell(in => out; kw...)
7171

7272
GRUCell(in::Integer, out::Integer; kw...) = GRUCell(in => out; kw...)
7373
GRUv3Cell(in::Integer, out::Integer; kw...) = GRUv3Cell(in => out; kw...)
74+
75+
# Deprecate Optimisers with old naming convention
76+
@deprecate ADAM Adam
77+
@deprecate NADAM NAdam
78+
@deprecate ADAMW AdamW
79+
@deprecate RADAM RAdam
80+
@deprecate OADAM OAdam
81+
@deprecate ADAGrad AdaGrad
82+
@deprecate ADADelta AdaDelta

0 commit comments

Comments
 (0)