code: def __init__(self, ignore_index, use_coverage, coverage_weight):
      super(Graph2SeqLoss, self).__init__()
      self.loss_func = SeqGenerationLoss(
          ignore_index=ignore_index,
          use_coverage=use_coverage,
          coverage_weight=coverage_weight,
      )
  
imports: import torch.nn
  from ..modules.loss.seq_generation_loss import SeqGenerationLoss
label_desc: Use image node_id 1 to create a new Graph2SeqLoss object from inherited base classes: nn with example: obj = Graph2SeqLoss(ignore_index, use_coverage, coverage_weight)