Skip to content

Commit 61bf27f

Browse files
Lingjun LiuLingjun Liu
authored andcommitted
optimizer update
1 parent 8911654 commit 61bf27f

File tree

2 files changed

+1
-148
lines changed

2 files changed

+1
-148
lines changed

tensorlayer/models/transformer/utils/optimizer.py

Lines changed: 0 additions & 147 deletions
This file was deleted.

tensorlayer/optimizers/lazyAdam.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
K = tf.keras.backend
2424

2525

26-
class LazyAdam(tf.keras.optimizers.Adam):
26+
class LazyAdam(tf.optimizers.Adam):
2727
"""Variant of the Adam optimizer that handles sparse updates more efficiently.
2828
2929
The original Adam algorithm maintains two moving-average accumulators for

0 commit comments

Comments
 (0)