_cross_entropy.label_smoothed_cross_entropy.LabelSmoothedCrossEntropyLoss">[docs]</a><span class="nd">@register_criterion</span><span class="p">(</span><span class="s2">&quot;label_smoothed_cross_entropy&quot;</span><span class="p">,</span> <span class="n">dataclass</span><span class="o">=</span><span class="n">LabelSmoothedCrossEntropyLossConfigs</span><span class="p">)</span>
<span class="k">class</span> <span class="nc">LabelSmoothedCrossEntropyLoss</span><span class="p">(</span><span class="n">nn</span>