Missed TensorFlow World? Check out the recap. Learn more

tf.keras.optimizers.schedules.LearningRateSchedule

TensorFlow 2 version View source on GitHub

Class LearningRateSchedule

A serializable learning rate decay schedule.

Aliases:

LearningRateSchedules 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.

Methods

__call__

View source

__call__(step)

Call self as a function.

from_config

View source

@classmethod
from_config(
    cls,
    config
)

Instantiates a LearningRateSchedule from its config.

Args:

  • config: Output of get_config().

Returns:

A LearningRateSchedule instance.

get_config

View source

get_config()