code: def NewCheckpointReader(filepattern):
      """A function that returns a CheckPointReader.
  
      Args:
        filepattern: The filename.
  
      Returns:
        A CheckpointReader object.
      """
      try:
          return CheckpointReader(compat.as_bytes(filepattern))
      # TODO(b/143319754): Remove the RuntimeError casting logic once we resolve the
      # issue with throwing python exceptions from C++.
      except RuntimeError as e:
          error_translator(e)
  
file_path: tensorflow/tensorflow/python/training/py_checkpoint_reader.py
imports: from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors_impl
  from tensorflow.python.util import compat
  from tensorflow.python.util._pywrap_checkpoint_reader import CheckpointReader
  from tensorflow.python.util.tf_export import tf_export
label_desc: Use image node_id 5 for calling a global function with example usage: NewCheckpointReader(filepattern) and returns: CheckpointReader