com.thoughtworks.deeplearning.double.utilities.DoubleMonoidBatch.scala Maven / Gradle / Ivy
The newest version!
package com.thoughtworks.deeplearning.double
package utilities
import cats._
import cats.implicits._
import com.thoughtworks.deeplearning.Batch
/**
* @author 杨博 (Yang Bo) <[email protected]>
*/
private[deeplearning] trait DoubleMonoidBatch extends Batch {
override type Data = Eval[scala.Double]
override type Delta = Eval[scala.Double]
protected final def monoid = implicitly[Monoid[Delta]]
}