LossFunction

lamp.nn.LossFunction
trait LossFunction

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Identity.type
object MSE.type
class NLL
class SequenceNLL
class SmoothL1Loss
Show all

Members list

Value members

Abstract methods

def apply[S : Sc](output: Variable, target: STen): (Variable, Long)

Returns the loss averaged over examples and the number of examples

Returns the loss averaged over examples and the number of examples

Attributes