code: def get_ckpt_state(config):
      """Get the checkpoint state."""
      checkpoint_dir = get_checkpoint_dir(config)
      ckpt = tf.train.get_checkpoint_state(checkpoint_dir)
      return ckpt
  
file_path: delta/delta/utils/solver/utils/solver_utils.py
imports: import os
  import re
  from pathlib import Path
  import numpy
  import delta.compat
  from absl import logging
  import shutil
  from delta import utils
  from delta.utils import metrics
label_desc: Use image node_id 2 for calling a global function with example usage: get_ckpt_state(config) and returns: ckpt