code: def forward(
      self, logits, label, enc_attn_weights=None, coverage_vectors=None
  ):
      loss = self.loss_func(
          logits=logits,
          label=label,
          enc_attn_weights=enc_attn_weights,
          coverage_vectors=coverage_vectors,
      )
      return loss
  
imports: import torch.nn
  from ..modules.loss.seq_generation_loss import SeqGenerationLoss
label_desc: Use image node_id 2 for calling the Graph2SeqLoss obj's underlying member method code with example usage: obj.forward(logits, label, enc_attn_weights, coverage_vectors) and returns: loss