INNER CODE UNIT · Python
TensorflowGraphModel
deepchem/deepchem · contrib/tensorflow_models/__init__.py:98
class TensorflowGraphModel(Model):
"""Parent class for deepchem Tensorflow models.
Classifier:
n_classes
Has the following attributes:
placeholder_root: String placeholder prefix, used to create
placeholder_scope.
Generic base class for defining, training, and evaluating TensorflowGraphs.
Subclasses must implement the following methods:
build
add_output_ops
add_training_cost