cd648e6252104018c89693dd4ca3a14d93ab6669,deepchem/models/tensorflow_models/__init__.py,TensorflowGraphModel,construct_graph,#TensorflowGraphModel#Any#,126
Before Change
name_scopes = {}
if train:
with graph.as_default():
model_ops.set_training(train)
// Setup graph
with graph.as_default():
with tf.name_scope("core_model"):
self.build(graph, name_scopes)
self.add_label_placeholders(graph, name_scopes)
After Change
output = self.build(graph, name_scopes, training)
labels = self.add_label_placeholders(graph, name_scopes)
////////////////////////////////////////////////////////////////////////////////////////////////////////////// DEBUG
print("labels")
print(labels)
////////////////////////////////////////////////////////////////////////////////////////////////////////////// DEBUG
weights = self.add_example_weight_placeholders(graph, name_scopes)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: deepchem/deepchem
Commit Name: cd648e6252104018c89693dd4ca3a14d93ab6669
Time: 2016-09-19
Author: bharath.ramsundar@gmail.com
File Name: deepchem/models/tensorflow_models/__init__.py
Class Name: TensorflowGraphModel
Method Name: construct_graph
Project Name: snorkel-team/snorkel
Commit Name: b56a4b355dfc302fa449d223e065af3a7acac986
Time: 2018-05-03
Author: dnicholson329@gmail.com
File Name: snorkel/learning/pytorch/noise_aware_model.py
Class Name: TorchNoiseAwareModel
Method Name: save
Project Name: lene/nn-wtf
Commit Name: b06553463a869bcc7d8fd502c5ba284c96148fd4
Time: 2016-02-17
Author: lene.preuss@gmail.com
File Name: main.py
Class Name:
Method Name: run_training