All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.thoughtworks.deeplearning.double.optimizers.LearningRate.scala Maven / Gradle / Ivy

The newest version!
package com.thoughtworks.deeplearning.double.optimizers

/**
  * @author 杨博 (Yang Bo) <[email protected]>
  */
trait LearningRate extends Optimizer {

  protected def currentLearningRate(): scala.Double

  override def updateDouble(oldValue: Double, delta: Double): Double = {
    oldValue - delta * currentLearningRate()
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy