code: def aggregate_scores(self, batch_scores):
      intent_scores, slot_scores = batch_scores
      self.all_scores.extend(
          (intent_score, slot_score)
          for intent_score, slot_score in zip(
              intent_scores.tolist(), slot_scores.tolist()
          )
      )
  
imports: from typing import Dict, List, Optional
  from pytext.common.constants import DatasetFieldName, Stage
  from pytext.data.data_structures.annotation import CLOSE, escape_brackets, OPEN
  from pytext.metrics.intent_slot_metrics import compute_all_metrics, FramePredictionPair, Node, Span
  from pytext.utils.data import byte_length, get_substring_from_offsets, merge_token_labels_to_slot, parse_slot_string
  from .channel import Channel, ConsoleChannel, FileChannel
  from .metric_reporter import MetricReporter
label_desc: Use image node_id 6 for calling the IntentSlotMetricReporter obj's underlying member method code with example usage: obj.aggregate_scores(batch_scores) without return types