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","."]
docstr: Returns:
       The summaries for each class.
docstr_tok: ["Returns",":","The","summaries","for","each","class","."]
code: def class_summaries(
      self,
  ) -> Dict[
      Any,
      Union[
          None,
          Dict[str, Optional[Tensor]],
          List[Dict[str, Optional[Tensor]]],
      ],
  ]:
      r"""
      Returns:
           The summaries for each class.
      """
      return {
          key: value.summary for key, value in self.summaries.items()
      }
  
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 3 for calling the ClassSummarizer obj's underlying member method code with example usage: obj.class_summaries() and returns: unknown