aee5cf66f2154ef70fd812b369271f05e4b7c921,example5.py,,,#,48

Before Change


with tf.Session() as sess:
    sess.run(tf.global_variables_initializer())
    cnt, num_samples, start_t = 0, 0, time.perf_counter()
    while True:
        print(sess.run(data_node))

After Change


with tf.Session() as sess:
    sess.run(tf.global_variables_initializer())
    cnt, num_samples, start_t = 0, 0, time.perf_counter()
    estimator.train(input_fn=input_fn, steps=100)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: hanxiao/bert-as-service
Commit Name: aee5cf66f2154ef70fd812b369271f05e4b7c921
Time: 2018-11-27
Author: hanhxiao@tencent.com
File Name: example5.py
Class Name:
Method Name:


Project Name: lene/nn-wtf
Commit Name: e0d6a5289e0efcdd5365e49d7303ffb0e366f6ea
Time: 2016-02-26
Author: lene.preuss@gmail.com
File Name: nn_wtf/neural_network_graph.py
Class Name: NeuralNetworkGraph
Method Name: train


Project Name: lene/nn-wtf
Commit Name: 430cda28f3b04639f34990014d5a267b26b57696
Time: 2016-02-26
Author: lene.preuss@gmail.com
File Name: nn_wtf/mnist_graph.py
Class Name: MNISTGraph
Method Name: train