Skip to content

.step()

Update the learning rate based on the provided metric.

Parameters:

  • metric (float) –

    The current value of the monitored metric (e.g., validation loss). Unlike other schedulers, this method requires a metric value, not an epoch number.