class_docstr: Helper class for async checkpoint.
class_docstr_tok: ["Helper","class","for","async","checkpoint","."]
docstr: Restore the checkpointed variables.
  
  Args:
    save_path: The full name of the checkpoint file to be restored.
    options: CheckpointOption instance.
  
  Returns:
    A load status object, which can be used to make assertions about the
    status of a checkpoint restoration. See tf.train.Checkpoint.restore()
    for more details.
docstr_tok: ["Restore","the","checkpointed","variables",".","Args",":","save_path",":","The","full","name","of","the","checkpoint","file","to","be","restored",".","options",":","CheckpointOption","instance",".","Returns",":","A","load","status","object",",","which","can","be","used","to","make","assertions","about","the","status","of","a","checkpoint","restoration",".","See","tf.train.Checkpoint.restore","(",")","for","more","details","."]
code: def restore(self, save_path, options=None):
      """Restore the checkpointed variables.
  
      Args:
        save_path: The full name of the checkpoint file to be restored.
        options: CheckpointOption instance.
  
      Returns:
        A load status object, which can be used to make assertions about the
        status of a checkpoint restoration. See tf.train.Checkpoint.restore()
        for more details.
      """
      # Ensure that we do not request async checkpointing to the underlying
      # checkpointer as this could lead to an infinite loop.
      self._checkpoint_options = (
          copy.copy(options) if options else self._checkpoint_options
      )
      if self._checkpoint_options:
          self._checkpoint_options.experimental_enable_async_checkpoint = (
              False
          )
  
      # Wait for any ongoing checkpoint event to finish.
      self._queue.join()
      # Restore values of the cpu-copied variables directly back to accelerators
      status = self.checkpointer().restore(
          save_path, self._checkpoint_options
      )
  
      return status
  
imports: import atexit
  import copy
  import queue
  import threading
  import time
  import weakref
  from absl import logging
  from tensorflow.python.checkpoint import checkpoint_context
  from tensorflow.python.checkpoint import trackable_view
  from tensorflow.python.distribute import device_util
  from tensorflow.python.eager import context
  from tensorflow.python.eager import def_function
  from tensorflow.python.eager import executor
  from tensorflow.python.framework import ops
  from tensorflow.python.ops import variables
  from tensorflow.python.saved_model.pywrap_saved_model import metrics
  from tensorflow.python.trackable import base
  from tensorflow.python.util import object_identity
label_desc: Use image node_id 14 for calling the AsyncCheckpointHelper obj's underlying member method code with example usage: obj.restore(save_path, options) and returns: status