Skip to content

Commit

Permalink
Added AdamW from tf.keras.optimizers to external_configurables.
Browse files Browse the repository at this point in the history
AdamW optimizer is supported in current version of tensorflow(https://www.tensorflow.org/api_docs/python/tf/keras/optimizers)

PiperOrigin-RevId: 636486640
  • Loading branch information
Gin-Config Team authored and copybara-github committed Jun 3, 2024
1 parent 1507860 commit 2bf410a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gin/tf/external_configurables.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ def piecewise_constant(global_step, *args, **kwargs):
tf.keras.optimizers.Adagrad, module='tf.keras.optimizers')
config.external_configurable(
tf.keras.optimizers.Adam, module='tf.keras.optimizers')
config.external_configurable(
tf.keras.optimizers.AdamW, module='tf.keras.optimizers')
config.external_configurable(
tf.keras.optimizers.Adamax, module='tf.keras.optimizers')
config.external_configurable(
Expand Down

0 comments on commit 2bf410a

Please sign in to comment.