class_docstr: Accumulate stats (from timers) over many iterations
class_docstr_tok: ["Accumulate","stats","(","from","timers",")","over","many","iterations"]
code: def __str__(self):
      return str((self._host_stats, self._cuda_stats))
  
imports: import logging
  from collections import defaultdict, deque
  from time import perf_counter
  from typing import List, Mapping, Optional, Tuple
  import torch
  from torch.cuda import Event
label_desc: Use image node_id 6 for calling the PerfStats obj's underlying member method code with example usage: obj.__str__() and returns: str