INNER CODE UNIT · Python

__init__

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

  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):
    """Gets placeholder scope."""
    placeholder_root = "placeholders"
    return TensorflowGraph.shared_name_scope(placeholder_root, graph,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…