773d9932c4b891800bf254d5cea61159056437f1,basenji/rnn.py,RNN,build,#RNN#Any#,18

Before Change



        // print variables
        for v in tf.global_variables():
            print(v.name, v.get_shape())


        //////////////////////////////////////////////////////////////////////////////////////////////////////

After Change


                // batch normalization and ReLU
                dinput = tf.contrib.layers.batch_norm(dinput, decay=0.9, center=True, scale=True, activation_fn=tf.nn.relu, is_training=self.is_training, updates_collections=None)
                print("Batch normalization")
                print("ReLU")

                // dropout
                if self.dcnn_dropout[li] > 0:
                    dinput = tf.nn.dropout(dinput, 1.0-self.dcnn_dropout_ph[li])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: calico/basenji
Commit Name: 773d9932c4b891800bf254d5cea61159056437f1
Time: 2016-12-26
Author: drk@calicolabs.com
File Name: basenji/rnn.py
Class Name: RNN
Method Name: build


Project Name: HyperGAN/HyperGAN
Commit Name: 6df4c07fcf14e5ea3e1b3bb7cfccd3ef8e1c6150
Time: 2017-01-09
Author: mikkel@255bits.com
File Name: hypergan/discriminators/pyramid_nostride_discriminator.py
Class Name:
Method Name: discriminator


Project Name: HyperGAN/HyperGAN
Commit Name: 244a751508d522e056441e1894bc604f7bbadbb6
Time: 2017-03-06
Author: mikkel@255bits.com
File Name: hypergan/graph/graph.py
Class Name: Graph
Method Name: discriminator