osl_dynamics.inference.callbacks.ScheduleCallback#

class osl_dynamics.inference.callbacks.ScheduleCallback(schedules)#

Bases: tensorflow.keras.callbacks.Callback

Set values that change with the epoch at the start of each epoch.

The values are added to the logs at the end of each epoch.

Parameters:
schedulesdict

Maps a name to a (variable, function) pair. At the start of each epoch, the variable is set to function(epoch).