LabelSmoothingCrossEntropy: LabelSmoothingCrossEntropy

Description Usage Arguments Value

View source: R/Loss.R

Description

Same as 'nn$Module', but no need for subclasses to call 'super()$__init__'

Usage

1
LabelSmoothingCrossEntropy(eps = 0.1, reduction = "mean")

Arguments

eps

epsilon

reduction

reduction, defaults to mean

Value

Loss object


fastai documentation built on July 28, 2021, 5:06 p.m.