Path: blob/master/templates/api/optimizers/index.md
3297 views
Optimizers
Available optimizers
{{toc}}
Usage with compile()
& fit()
An optimizer is one of the two arguments required for compiling a Keras model:
You can either instantiate an optimizer before passing it to model.compile()
, as in the above example, or you can pass it by its string identifier. In the latter case, the default parameters for the optimizer will be used.
Learning rate decay / scheduling
You can use a learning rate schedule to modulate how the learning rate of your optimizer changes over time:
Check out the learning rate schedule API documentation for a list of available schedules.
Base Optimizer API
These methods and attributes are common to all Keras optimizers.
{{autogenerated}}