pypomp.core.learning_rate.LearningRate.cosine_decay¶
- LearningRate.cosine_decay(final_factor: float, M: int) LearningRate[source]¶
Apply a cosine cooling schedule to all current rates.
- Parameters:
- Returns:
A new
LearningRateobject with cosine decay applied.- Return type: