be6f19a2b6d5a8a36ab97d6f56ad8c30e180fb6e,tensorflowTUT/tf18_CNN3/full_code.py,,,#,41

Before Change


// important step
// tf.initialize_all_variables() no long valid from
// 2017-03-02 if using tensorflow >= 0.12
sess.run(tf.global_variables_initializer())

for i in range(1000):
    batch_xs, batch_ys = mnist.train.next_batch(100)
    sess.run(train_step, feed_dict={xs: batch_xs, ys: batch_ys, keep_prob: 0.5})

After Change


// important step
// tf.initialize_all_variables() no long valid from
// 2017-03-02 if using tensorflow >= 0.12
if int((tf.__version__).split(".")[1]) < 12:
    init = tf.initialize_all_variables()
else:
    init = tf.global_variables_initializer()
sess.run(init)

for i in range(1000):
    batch_xs, batch_ys = mnist.train.next_batch(100)
    sess.run(train_step, feed_dict={xs: batch_xs, ys: batch_ys, keep_prob: 0.5})
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 19

Non-data size: 22

Instances


Project Name: MorvanZhou/tutorials
Commit Name: be6f19a2b6d5a8a36ab97d6f56ad8c30e180fb6e
Time: 2017-01-09
Author: morvanzhou@hotmail.com
File Name: tensorflowTUT/tf18_CNN3/full_code.py
Class Name:
Method Name:


Project Name: MorvanZhou/tutorials
Commit Name: be6f19a2b6d5a8a36ab97d6f56ad8c30e180fb6e
Time: 2017-01-09
Author: morvanzhou@hotmail.com
File Name: tensorflowTUT/tf12_plot_result/full_code.py
Class Name:
Method Name:


Project Name: MorvanZhou/tutorials
Commit Name: be6f19a2b6d5a8a36ab97d6f56ad8c30e180fb6e
Time: 2017-01-09
Author: morvanzhou@hotmail.com
File Name: tensorflowTUT/tf18_CNN3/full_code.py
Class Name:
Method Name:


Project Name: MorvanZhou/tutorials
Commit Name: be6f19a2b6d5a8a36ab97d6f56ad8c30e180fb6e
Time: 2017-01-09
Author: morvanzhou@hotmail.com
File Name: tensorflowTUT/tf16_classification/for_you_to_practice.py
Class Name:
Method Name:


Project Name: MorvanZhou/tutorials
Commit Name: be6f19a2b6d5a8a36ab97d6f56ad8c30e180fb6e
Time: 2017-01-09
Author: morvanzhou@hotmail.com
File Name: tensorflowTUT/tf14_tensorboard/full_code.py
Class Name:
Method Name:


Project Name: MorvanZhou/tutorials
Commit Name: be6f19a2b6d5a8a36ab97d6f56ad8c30e180fb6e
Time: 2017-01-09
Author: morvanzhou@hotmail.com
File Name: tensorflowTUT/tf20_RNN2.2/for_practicing.py
Class Name:
Method Name:


Project Name: MorvanZhou/tutorials
Commit Name: be6f19a2b6d5a8a36ab97d6f56ad8c30e180fb6e
Time: 2017-01-09
Author: morvanzhou@hotmail.com
File Name: tensorflowTUT/tf18_CNN2/for_you_to_practice.py
Class Name:
Method Name:


Project Name: MorvanZhou/tutorials
Commit Name: be6f19a2b6d5a8a36ab97d6f56ad8c30e180fb6e
Time: 2017-01-09
Author: morvanzhou@hotmail.com
File Name: tensorflowTUT/tf20_RNN2.2/full_code.py
Class Name:
Method Name:


Project Name: MorvanZhou/tutorials
Commit Name: be6f19a2b6d5a8a36ab97d6f56ad8c30e180fb6e
Time: 2017-01-09
Author: morvanzhou@hotmail.com
File Name: tensorflowTUT/tf15_tensorboard/full_code.py
Class Name:
Method Name:


Project Name: MorvanZhou/tutorials
Commit Name: be6f19a2b6d5a8a36ab97d6f56ad8c30e180fb6e
Time: 2017-01-09
Author: morvanzhou@hotmail.com
File Name: tensorflowTUT/tf18_CNN3/for_you_to_practice.py
Class Name:
Method Name:


Project Name: MorvanZhou/tutorials
Commit Name: be6f19a2b6d5a8a36ab97d6f56ad8c30e180fb6e
Time: 2017-01-09
Author: morvanzhou@hotmail.com
File Name: tensorflowTUT/tf14_tensorboard/for_you_to_practice.py
Class Name:
Method Name:


Project Name: MorvanZhou/tutorials
Commit Name: be6f19a2b6d5a8a36ab97d6f56ad8c30e180fb6e
Time: 2017-01-09
Author: morvanzhou@hotmail.com
File Name: tensorflowTUT/tf17_dropout/full_code.py
Class Name:
Method Name:


Project Name: MorvanZhou/tutorials
Commit Name: be6f19a2b6d5a8a36ab97d6f56ad8c30e180fb6e
Time: 2017-01-09
Author: morvanzhou@hotmail.com
File Name: tensorflowTUT/tf11_build_network/full_code.py
Class Name:
Method Name:


Project Name: MorvanZhou/tutorials
Commit Name: be6f19a2b6d5a8a36ab97d6f56ad8c30e180fb6e
Time: 2017-01-09
Author: morvanzhou@hotmail.com
File Name: tensorflowTUT/tf17_dropout/for_you_to_practice.py
Class Name:
Method Name:


Project Name: MorvanZhou/tutorials
Commit Name: be6f19a2b6d5a8a36ab97d6f56ad8c30e180fb6e
Time: 2017-01-09
Author: morvanzhou@hotmail.com
File Name: tensorflowTUT/tf12_plot_result/for_you_to_practice.py
Class Name:
Method Name:


Project Name: MorvanZhou/tutorials
Commit Name: be6f19a2b6d5a8a36ab97d6f56ad8c30e180fb6e
Time: 2017-01-09
Author: morvanzhou@hotmail.com
File Name: tensorflowTUT/tf15_tensorboard/for_you_to_practice.py
Class Name:
Method Name:


Project Name: MorvanZhou/tutorials
Commit Name: be6f19a2b6d5a8a36ab97d6f56ad8c30e180fb6e
Time: 2017-01-09
Author: morvanzhou@hotmail.com
File Name: tensorflowTUT/tf23_BN/tf23_BN.py
Class Name:
Method Name:


Project Name: MorvanZhou/tutorials
Commit Name: be6f19a2b6d5a8a36ab97d6f56ad8c30e180fb6e
Time: 2017-01-09
Author: morvanzhou@hotmail.com
File Name: tensorflowTUT/tf18_CNN2/full_code.py
Class Name:
Method Name:


Project Name: MorvanZhou/tutorials
Commit Name: be6f19a2b6d5a8a36ab97d6f56ad8c30e180fb6e
Time: 2017-01-09
Author: morvanzhou@hotmail.com
File Name: tensorflowTUT/tf16_classification/full_code.py
Class Name:
Method Name:


Project Name: MorvanZhou/tutorials
Commit Name: be6f19a2b6d5a8a36ab97d6f56ad8c30e180fb6e
Time: 2017-01-09
Author: morvanzhou@hotmail.com
File Name: tensorflowTUT/tf22_scope/tf22_RNN_scope.py
Class Name:
Method Name: