SequenceNLL
lamp.nn.LossFunctions$.SequenceNLL
case class SequenceNLL(numClasses: Int, classWeights: STen, ignore: Long) extends LossFunction
Return a loss function which takes outputs of time step x batch x classes and targets of time step x batch The returned loss is averaged over the batch and the time steps
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait LossFunctionclass Objecttrait Matchableclass Any
Members list
In this article