code: def _extract_saveable_name(checkpoint_key):
      # Substring the checkpoint key to the end of the "{...}.ATTRIBUTES/"
      search_key = trackable_utils.OBJECT_ATTRIBUTES_NAME + "/"
      return checkpoint_key[
          : checkpoint_key.index(search_key) + len(search_key)
      ]
  
imports: import collections
  from tensorflow.python.checkpoint import checkpoint_view
  from tensorflow.python.checkpoint import functional_saver
  from tensorflow.python.checkpoint import save_util_v1
  from tensorflow.python.checkpoint import saveable_compat
  from tensorflow.python.eager import context
  from tensorflow.python.framework import ops
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import gen_io_ops
  from tensorflow.python.ops import io_ops
  from tensorflow.python.platform import tf_logging
  from tensorflow.python.saved_model import registration
  from tensorflow.python.trackable import base
  from tensorflow.python.trackable import constants
  from tensorflow.python.trackable import python_state
  from tensorflow.python.trackable import trackable_utils
  from tensorflow.python.training.saving import saveable_object_util
  from tensorflow.python.util import object_identity
label_desc: Use image node_id 4 for calling a global function with example usage: _extract_saveable_name(checkpoint_key) and returns: checkpoint_key