class_docstr: Mean average precision for object detections.
  
  It calculates the mean average precision metric for object detections. It
  averages COCOAveragePrecision over multiple classes and IoU thresholds.
class_docstr_tok: ["Mean","average","precision","for","object","detections",".","It","calculates","the","mean","average","precision","metric","for","object","detections",".","It","averages","COCOAveragePrecision","over","multiple","classes","and","IoU","thresholds","."]
code: def _default_name(self) -> str:
      return MEAN_AVERAGE_PRECISION_NAME
  
imports: import logging
  import math
  from typing import Any, Dict, List, Optional, Tuple, Union
  import numpy
  from tensorflow_model_analysis.metrics import confusion_matrix_metrics
  from tensorflow_model_analysis.metrics import metric_types
  from tensorflow_model_analysis.metrics import metric_util
  from tensorflow_model_analysis.metrics import object_detection_confusion_matrix_metrics
label_desc: Use image node_id 2 for calling the COCOMeanAveragePrecision obj's underlying member method code with example usage: obj._default_name() and returns: MEAN_AVERAGE_PRECISION_NAME