LabelSmoothingCrossEntropy: LabelSmoothingCrossEntropy

View source: R/Loss.R

LabelSmoothingCrossEntropyR Documentation

LabelSmoothingCrossEntropy

Description

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

Usage

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

Arguments

eps

epsilon

reduction

reduction, defaults to mean

Value

Loss object


EagerAI/fastai documentation built on April 16, 2024, 12:01 p.m.