code: def initialize_stats_dict(
      main_function_events: List[profiler_util.FunctionEvent],
  ) -> Dict[str, List]:
      """Initialize dictionary which stores resource usage information per tagged code block.
  
      :param main_function_events: list of main function events.
      """
      info = {}
      for event_name in [evt.name for evt in main_function_events]:
          info[event_name] = []
      return info
  
file_path: ludwig/ludwig/benchmarking/reporting.py
imports: from collections import Counter, defaultdict
  from statistics import mean
  from typing import Any, Dict, List, Tuple, Union
  import torch
  from torch._C._autograd import _KinetoEvent
  from torch.autograd import DeviceType, profiler_util
  from ludwig.benchmarking.profiler_dataclasses import DeviceUsageMetrics, SystemResourceMetrics, TorchProfilerMetrics
  from ludwig.constants import LUDWIG_TAG
label_desc: Use image node_id 1 for calling a global function with example usage: initialize_stats_dict(main_function_events) and returns: info