code: def add_batch_stats(
      self, n_batches, preds, targets, scores, loss, m_input, **context
  ):
      super().add_batch_stats(
          n_batches, preds, targets, scores, loss, m_input, **context
      )
      src_tokens = m_input[0]
      self.aggregate_src_tokens(src_tokens)
  
imports: from typing import Dict, List
  import torch
  from pytext.common.constants import BatchContext, DatasetFieldName, RawExampleFieldName, Stage
  from pytext.data.tensorizers import Tensorizer
  from pytext.metric_reporters.channel import Channel, ConsoleChannel, FileChannel
  from pytext.metric_reporters.metric_reporter import MetricReporter
  from pytext.metrics import safe_division
  from pytext.metrics.seq2seq_metrics import compute_f1, Seq2SeqMetrics
label_desc: Use image node_id 4 for calling the Seq2SeqMetricReporter obj's underlying member method code with example usage: obj.add_batch_stats(n_batches, preds, targets, scores, loss, m_input) without return types