View source on GitHub |
A serializable learning rate decay schedule.
LearningRateSchedule
s can be passed in as the learning rate of optimizers in
tf.keras.optimizers
. They can be serialized and deserialized using
tf.keras.optimizers.schedules.serialize
and
tf.keras.optimizers.schedules.deserialize
.
__call__
__call__(
step
)
Call self as a function.
from_config
@classmethod
from_config(
config
)
Instantiates a LearningRateSchedule
from its config.
config
: Output of get_config()
.A LearningRateSchedule
instance.
get_config
get_config()