NLL

lamp.nn.LossFunctions$.NLL
case class NLL(numClasses: Int, classWeights: STen, reduction: Reduction, ignore: Long) extends LossFunction

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait LossFunction
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def apply[S : Sc](out: 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

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product