AdversarialTraining

case class AdversarialTraining(eps: Double) extends LossCalculation[Variable]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply[M <: Module](samples: Variable, target: STen, module: M & Module, lossFunction: LossFunction, computeGradients: Boolean, zeroGradBeforeComputingGradients: Boolean)(implicit scope: Scope): (Variable, Long, Option[Seq[Option[STen]]])

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product