class_docstr: Computes confusion matrices for semantic segmentation.
class_docstr_tok: ["Computes","confusion","matrices","for","semantic","segmentation","."]
code: def _default_name(self) -> str:
      return SEMANTIC_SEGMENTATION_CONFUSION_MATRIX_NAME
  
imports: import abc
  from typing import Any, Dict, Iterable, List, Optional, Union
  import apache_beam
  import numpy
  from tensorflow_model_analysis.contrib.aggregates import binary_confusion_matrices
  from tensorflow_model_analysis.metrics import metric_types
  from tensorflow_model_analysis.metrics import metric_util
  from tensorflow_model_analysis.metrics import preprocessors
  from tensorflow_model_analysis.proto import config_pb2
label_desc: Use image node_id 2 for calling the SemanticSegmentationConfusionMatrix obj's underlying member method code with example usage: obj._default_name() and returns: SEMANTIC_SEGMENTATION_CONFUSION_MATRIX_NAME