SmoothL1Loss

lamp.nn.LossFunctions$.SmoothL1Loss
case class SmoothL1Loss(reduction: Reduction, beta: Double) 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