code: def load_graph_for_evaluation(session):
      """
      Load variables from checkpoint. Initialization is not allowed. By default
      this will try to load the best validating checkpoint, then try the last
      checkpoint. This can be overriden with the `--load_evaluate` flag. See its
      documentation for more info.
      """
      if FLAGS.load_evaluate == "auto":
          methods = ["best", "last"]
      else:
          methods = [FLAGS.load_evaluate]
      _load_or_init_impl(session, methods, allow_drop_layers=False)
  
file_path: DeepSpeech/training/deepspeech_training/util/checkpoints.py
imports: import sys
  import tensorflow
  import tensorflow.compat.v1
  from .flags import FLAGS
  from .logging import log_info, log_error, log_warn
label_desc: Use image node_id 7 for calling a global function with example usage: load_graph_for_evaluation(session) without return types