class_docstr: Computes total attributions.
code: def __init__(
      self,
      key: metric_types.AttributionsKey,
      eval_config: Optional[config_pb2.EvalConfig],
      absolute: bool,
  ):
      self._key = key
      self._eval_config = eval_config
      self._absolute = absolute
  
imports: import functools
  from typing import Any, Dict, Iterable, List, Optional, Union
  import apache_beam
  import numpy
  from tensorflow_model_analysis import constants
  from tensorflow_model_analysis.metrics import example_count
  from tensorflow_model_analysis.metrics import metric_specs
  from tensorflow_model_analysis.metrics import metric_types
  from tensorflow_model_analysis.metrics import metric_util
  from tensorflow_model_analysis.proto import config_pb2
  from tensorflow_model_analysis.utils import util
label_desc: Use image node_id 1 to create a new _TotalAttributionsCombiner object from inherited base classes: beam with example: obj = _TotalAttributionsCombiner(key, eval_config, absolute)