code: def aggregate_preds(
      self, batch_preds: Tensor, batch_context=Dict[str, Any]
  ):
      self.all_preds.append(batch_preds.flatten().tolist())
  
file_path: pytext/pytext/metric_reporters/calibration_metric_reporter.py
imports: from typing import Any, Dict, List
  from pytext.config import PyTextConfig
  from pytext.metric_reporters.channel import Channel, ConsoleChannel
  from pytext.metrics import LabelPrediction
  from pytext.metrics.calibration_metrics import compute_calibration
  from torch import Tensor
  from .metric_reporter import MetricReporter
label_desc: Use image node_id 3 for calling the CalibrationMetricReporter obj's underlying member method code with example usage: obj.aggregate_preds(batch_preds, batch_context) without return types