code: def __init__(
      self, task, sentence_avg, label_smoothing, alignment_lambda
  ):
      super().__init__(task, sentence_avg, label_smoothing)
      self.alignment_lambda = alignment_lambda
  
file_path: fairseq/fairseq/criterions/label_smoothed_cross_entropy_with_alignment.py
imports: import math
  from fairseq import utils
  from fairseq.logging import metrics
  from fairseq.criterions import register_criterion
  from .label_smoothed_cross_entropy import LabelSmoothedCrossEntropyCriterion, LabelSmoothedCrossEntropyCriterionConfig
  from dataclasses import dataclass, field
label_desc: Use image node_id 1 to create a new LabelSmoothedCrossEntropyCriterionWithAlignment object from inherited base classes: LabelSmoothedCrossEntropyCriterion with example: obj = LabelSmoothedCrossEntropyCriterionWithAlignment(task, sentence_avg, label_smoothing, alignment_lambda)