from tensorflow.python.framework import ops

    self._saved_model_loader_value = None
    self._loaded_saved_model_graph = None
    # TODO(b/160294509): Use tf.compat.v1 when we stop supporting TF 1.15.
    if ops.executing_eagerly_outside_functions():
      _check_tensorflow_version()
      # The model must be tracked by assigning to an attribute of the Keras
