f254e101c3b0e10495dab1fe03769d9b94847629,tests/perf/simple.py,,,#,9
Before Change
W = tf.Variable(tf.truncated_normal([784, 100], stddev=0.05))
b = tf.Variable(tf.zeros([100]))
y = tf.nn.softmax(tf.matmul(x, W) + b, name="output")
sess.run(tf.initialize_all_variables())
// setup td model
model = td.Model()
model.add(y, sess)
After Change
b = tf.Variable(tf.zeros([100]))
y = tf.nn.softmax(tf.matmul(x, W) + b, name="output")
if td._tf_version[:3] < (0, 12, 0) and 0:
sess.run(tf.initialize_all_variables())
else:
sess.run(tf.global_variables_initializer())
// setup td model
model = td.Model()
model.add(y, sess)
inp, outp = model.get("input", "output")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 8
Instances Project Name: riga/tfdeploy
Commit Name: f254e101c3b0e10495dab1fe03769d9b94847629
Time: 2016-12-12
Author: marcelrieger@me.com
File Name: tests/perf/simple.py
Class Name:
Method Name:
Project Name: riga/tfdeploy
Commit Name: f254e101c3b0e10495dab1fe03769d9b94847629
Time: 2016-12-12
Author: marcelrieger@me.com
File Name: tests/models/simple.py
Class Name:
Method Name:
Project Name: riga/tfdeploy
Commit Name: f254e101c3b0e10495dab1fe03769d9b94847629
Time: 2016-12-12
Author: marcelrieger@me.com
File Name: tests/models/simple2.py
Class Name:
Method Name: