LabelSmoothedCrossEntropyLoss.ConfigΒΆ
Component: LabelSmoothedCrossEntropyLoss
-
class
LabelSmoothedCrossEntropyLoss.Config[source] Bases:
ConfigBase
All Attributes (including base classes)
- beta: float =
0.1- from_logits: bool =
True- use_entropy: bool =
False
Default JSON
{
"beta": 0.1,
"from_logits": true,
"use_entropy": false
}