Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
import com.thoughtworks.deeplearning.plugins.INDArrayWeights
trait INDArrayLearningRate extends INDArrayWeights {
val learningRate: Double
trait INDArrayOptimizerApi extends super.INDArrayOptimizerApi { this: INDArrayOptimizer =>
import org.nd4s.Implicits._
override def delta: INDArray = { * learningRate
override type INDArrayOptimizer <: Optimizer with INDArrayOptimizerApi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment