class_docstr: Accumulator for computing cross entropy metrics.
code: def merge(self, other: "_CrossEntropyAccumulator"):
      self.total_cross_entropy += other.total_cross_entropy
      self.total_example_weights += other.total_example_weights
  
imports: import abc
  import dataclasses
  from typing import Iterable, Optional, Dict
  import apache_beam
  import numpy
  from tensorflow_model_analysis.metrics import metric_types
  from tensorflow_model_analysis.metrics import metric_util
  from tensorflow_model_analysis.proto import config_pb2
label_desc: Use image node_id 1 for calling the _CrossEntropyAccumulator obj's underlying member method code with example usage: obj.merge(other) without return types