code: def get_metric_summary(metric_name):
      """Get summary for the specified metric."""
      metric = _METRICS_MAPPING[metric_name]
      result = metric.get_cell().value()
      if isinstance(metric, monitoring.Sampler):
          result = _get_metric_histogram(result)
      return result
  
file_path: tensorflow/tensorflow/python/distribute/coordinator/metric_utils.py
imports: import time
  from tensorflow.python.eager import monitoring
  from tensorflow.python.util import tf_contextlib
label_desc: Use image node_id 6 for calling a global function with example usage: get_metric_summary(metric_name) and returns: result