INNER CODE UNIT · Python

reload

deepchem/deepchem · contrib/tensorflow_models/__init__.py:222

  def reload(self):
    """
    Loads model from disk. Thin wrapper around restore() for consistency.
    """
    self.restore()

  def get_num_tasks(self):
    return self.n_tasks

  def construct_graph(self, training, seed):
    """Returns a TensorflowGraph object."""
    graph = tf.Graph()

    # Lazily created by _get_shared_session().
    shared_session = None

    # Cache of TensorFlow scopes, to prevent '_1' appended scope names
    # when subclass-overridden methods use the same scopes.

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…