code: def __init__(self, name="custom", dtype=None):
      super().__init__(name=name, dtype=dtype)
  
imports: from absl.testing import parameterized
  import apache_beam
  from apache_beam.testing import util
  import numpy
  import tensorflow
  from tensorflow_model_analysis.eval_saved_model import testutil
  from tensorflow_model_analysis.metrics import metric_types
  from tensorflow_model_analysis.metrics import metric_util
  from tensorflow_model_analysis.metrics import tf_metric_wrapper
  from tensorflow_model_analysis.proto import config_pb2
label_desc: Use image node_id 1 to create a new _CustomConfusionMatrixMetric object from inherited base classes: tf.keras.metrics with example: obj = _CustomConfusionMatrixMetric(name, dtype)