code: def _get_metrics_value_dict(metrics_list):
      metric_value_dict = {}
      for metric in metrics_list:
          try:
              metric_value = metric.function(**metric.arguments)
          except Exception as e:
              _log_warning_for_metrics(metric.name, metric.function, e)
          else:
              metric_value_dict[metric.name] = metric_value
      return metric_value_dict
  
imports: import collections
  import inspect
  import logging
  import pkgutil
  import platform
  import warnings
  from copy import deepcopy
  from importlib import import_module
  from numbers import Number
  from operator import itemgetter
  import numpy
  from packaging.version import Version
  from mlflow import MlflowClient
  from mlflow.utils.arguments_utils import _get_arg_names
  from mlflow.utils.file_utils import TempDir
  from mlflow.utils.mlflow_tags import MLFLOW_PARENT_RUN_ID
  from mlflow.utils.time import get_current_time_millis
label_desc: Use image node_id 5 for calling a global function with example usage: _get_metrics_value_dict(metrics_list) and returns: metric_value_dict