code: def _deserialize_metric(metric_config):
      """Deserialize metrics, leaving special strings untouched."""
      if metric_config in ["accuracy", "acc", "crossentropy", "ce"]:
          # Do not deserialize accuracy and cross-entropy strings as we have
          # special case handling for these in compile, based on model output
          # shape.
          return metric_config
      return metrics_module.deserialize(metric_config)
  
imports: import json
  import threading
  import tree
  from absl import logging
  from keras import backend
  from keras import layers
  from keras import losses
  from keras import metrics
  from keras import models
  from keras import optimizers
  from keras.legacy.saving import serialization
  from keras.saving import object_registration
label_desc: Use image node_id 6 for calling a global function with example usage: _deserialize_metric(metric_config) and returns: metrics_module, metric_config