tf.keras.optimizers.get
Retrieves a Keras Optimizer instance.
tf.keras.optimizers.get(
identifier
)
Arguments |
identifier
|
Optimizer identifier, one of
- String: name of an optimizer
- Dictionary: configuration dictionary. - Keras Optimizer instance (it
will be returned unchanged). - TensorFlow Optimizer instance (it
will be wrapped as a Keras Optimizer).
|
Returns |
A Keras Optimizer instance.
|
Raises |
ValueError
|
If identifier cannot be interpreted.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-10-01 UTC.
[null,null,["Last updated 2020-10-01 UTC."],[],[]]