class_docstr: Used to keep track of summaries for associated classes. The
  classes/labels can be of any type that are supported by `dict`.
  
  This also keeps track of an aggregate of all class summaries.
class_docstr_tok: ["Used","to","keep","track","of","summaries","for","associated","classes",".","The","classes\/labels","can","be","of","any","type","that","are","supported","by","`","dict","`",".","This","also","keeps","track","of","an","aggregate","of","all","class","summaries","."]
code: def __init__(self, stats: List[Stat]) -> None:
      Summarizer.__init__.__wrapped__(self, stats)
      self.summaries: Dict[Any, Summarizer] = defaultdict(
          lambda: Summarizer(stats=stats)
      )
  
file_path: captum/captum/attr/_utils/class_summarizer.py
imports: from collections import defaultdict
  from typing import Any, Dict, List, Optional, Union
  from captum._utils.common import _format_tensor_into_tuples
  from captum._utils.typing import TargetType, TensorOrTupleOfTensorsGeneric
  from captum.attr._utils.stat import Stat
  from captum.attr._utils.summarizer import Summarizer
  from captum.log import log_usage
  from torch import Tensor
label_desc: Use image node_id 1 to create a new ClassSummarizer object from inherited base classes: Summarizer with example: obj = ClassSummarizer(stats)