INNER CODE UNIT · Python

TensorflowGraph

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

class TensorflowGraph(object):
  """Simple class that holds information needed to run Tensorflow graph."""

  def __init__(self, graph, session, name_scopes, output, labels, weights,
               loss):
    warnings.warn(
        "TensorflowGraph is deprecated. "
        "Will be removed in DeepChem 1.4.", DeprecationWarning)
    self.graph = graph
    self.session = session
    self.name_scopes = name_scopes
    self.output = output
    self.labels = labels
    self.weights = weights
    self.loss = loss

  @staticmethod
  def get_placeholder_scope(graph, name_scopes):

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…