Пример #1
0
 public void UpdateEpoch(int epoch)
 {
     epochLr = Decay?.Compute(LearningRate, epoch) ?? LearningRate;
 }
Пример #2
0
 public void UpdateEpoch(int epoch)
 {
     epochLr  = Decay?.Compute(LearningRate, epoch) ?? LearningRate;
     corrDiv1 = 1.0 - Pow(Beta1, epoch + 1.0);
     corrDiv2 = 1.0 - Pow(Beta2, epoch + 1.0);
 }