code: def __init__(self, args, task):
      super().__init__(args, task)
      self.eps = args.label_smoothing
  
file_path: translate/pytorch_translate/weighted_criterions.py
imports: from fairseq import utils
  from fairseq.criterions import LegacyFairseqCriterion, register_criterion
  from fairseq.criterions.label_smoothed_cross_entropy import LabelSmoothedCrossEntropyCriterion
label_desc: Use image node_id 1 to create a new WeightedLabelSmoothedCrossEntropyCriterion object from inherited base classes: LegacyFairseqCriterion with example: obj = WeightedLabelSmoothedCrossEntropyCriterion(args, task)