class_docstr: Class for global accumulation state. add_stats gets reduced.
code: def enqueue_global_stats(self, stats):
      if self.queued_global_stats is None:
          self.queued_global_stats = copy.deepcopy(stats)
      else:
          # Sum pending data.
          self.add_stats(self.queued_global_stats, stats)
  
imports: import copy
  import dataclasses
  import logging
  import torch
  import moolib
label_desc: Use image node_id 3 for calling the GlobalStatsAccumulator obj's underlying member method code with example usage: obj.enqueue_global_stats(stats) without return types