Skip to content

Commit

Permalink
fixed registry for @register_loss(LabelSmoothingCrossEntropyLoss) (#1475
Browse files Browse the repository at this point in the history
)
  • Loading branch information
shaydeci committed Sep 20, 2023
1 parent 1b558ed commit 941817b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,5 +113,6 @@ def forward(self, input, target, smooth_dist=None):


@deprecated(deprecated_since="3.2.1", removed_from="3.5.0", target=CrossEntropyLoss)
@register_loss("LabelSmoothingCrossEntropyLoss")
class LabelSmoothingCrossEntropyLoss(CrossEntropyLoss):
...

0 comments on commit 941817b

Please sign in to comment.