def METHOD_NAME(self, logs=None):
    if self.initial_lr is None:
        self.initial_lr = tf.keras.backend.get_value(self.model.optimizer.lr)
    if not self.staircase and not self.steps_per_epoch:
        self.steps_per_epoch = self._autodetect_steps_per_epoch()