class_docstr: Computes binary confusion matrix in TFMA.
class_docstr_tok: ["Computes","binary","confusion","matrix","in","TFMA","."]
code: def merge_accumulators(
      self, accumulators: Iterable[MatrixAccumulator]
  ) -> MatrixAccumulator:
      return self._binary_confusion_matrices.merge_accumulators(
          accumulators
      )
  
imports: from typing import Any, Callable, Dict, Iterable, List, NamedTuple, Optional, Tuple, Union
  import apache_beam
  import numpy
  from tensorflow_model_analysis.api import types
  from tensorflow_model_analysis.contrib.aggregates import binary_confusion_matrices
  from tensorflow_model_analysis.metrics import calibration_histogram
  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.proto import metrics_for_slice_pb2
label_desc: Use image node_id 4 for calling the _BinaryConfusionMatrixCombiner obj's underlying member method code with example usage: obj.merge_accumulators(accumulators) and returns: self