LabelSmoothedCrossEntropyLoss.ConfigΒΆ
Component: LabelSmoothedCrossEntropyLoss
-
class
LabelSmoothedCrossEntropyLoss.
Config
[source] Bases:
ConfigBase
All Attributes (including base classes)
- beta: float =
0.1
- source: SourceType =
<SourceType.LOGITS: 'logits'>
- use_entropy: bool =
False
Default JSON
{
"beta": 0.1,
"source": "logits",
"use_entropy": false
}