39a106e526e70b5d64bf9f5404311eb490df6ea5,inference_worker.py,,main,#,32
Before Change
"features": n.sess.graph.get_tensor_by_name("unflatten_features:0"),
"dummy": n.sess.graph.get_tensor_by_name("put_outputs:0"),
}
output = n.sess.run(outputs)
for f in output["features"]:
print("---------------------------")
for r in range(go.N):
After Change
sess = tf.Session(graph=tf.Graph(), config=config)
with sess.graph.as_default():
loop = dual_net.model_inference_worker_fn(worker_config)
tf.train.Saver().restore(sess, FLAGS.model)
print("running graph")
sess.run(loop)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: tensorflow/minigo
Commit Name: 39a106e526e70b5d64bf9f5404311eb490df6ea5
Time: 2018-06-12
Author: tmadams@google.com
File Name: inference_worker.py
Class Name:
Method Name: main
Project Name: deepchem/deepchem
Commit Name: 387e650e16a5405691fb18ce05b34bd90239180e
Time: 2020-01-31
Author: peastman@stanford.edu
File Name: deepchem/metalearning/tests/test_maml.py
Class Name: TestMAML
Method Name: test_sine
Project Name: tensorlayer/tensorlayer
Commit Name: f53ec4a37341e167fcc8b2647d4858308914e2b0
Time: 2017-01-06
Author: dhsig552@163.com
File Name: example/tutorial_inceptionV3_tfslim.py
Class Name:
Method Name: