class_docstr: Calculates the true postive for semantic segmentation.
class_docstr_tok: ["Calculates","the","true","postive","for","semantic","segmentation","."]
code: def _metric_value(self, matrix: Matrix) -> float:
      return matrix.fp
  
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 SemanticSegmentationFalsePositive obj's underlying member method code with example usage: obj._metric_value(matrix) and returns: matrix