class_docstr: Restore variables from a checkpoint path.
code: def __init__(
      self,
      checkpoint_path="",
      new_model_scope="",
      old_model_scope="",
      include=None,
      exclude=None,
  ):
      self._checkpoint_path = checkpoint_path
      self._new_model_scope = new_model_scope
      self._old_model_scope = old_model_scope
      self._include = include
      self._exclude = exclude
  
file_path: tensor2tensor/tensor2tensor/utils/restore_hook.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import six
  from tensor2tensor.utils import contrib
  import tensorflow.compat.v1
label_desc: Use image node_id 1 to create a new RestoreHook object from inherited base classes: tf.train with example: obj = RestoreHook(checkpoint_path, new_model_scope, old_model_scope, include, exclude)