30dfa316d689a232c2e6deaa813827be52aba961,niftynet/network/simulator_gan.py,ImageGenerator,layer_op,#ImageGenerator#Any#Any#Any#Any#,35

Before Change


            x_sample = ConvolutionalLayer(1, 3, with_bn=False, with_bias=True,
                                          w_initializer=w_init,
                                          b_initializer=b_init)(g_h5, is_training=is_training)
            x_sample = tf.nn.dropout(tf.nn.tanh(x_sample), keep_prob_ph)
        //with tf.name_scope("summaries_verbose"):
        //    tf.summary.histogram("hist_g_h2", g_h2, [logging.LOG])
        //    tf.summary.histogram("hist_g_h3", g_h3, [logging.LOG])

After Change


                with_bn=False,
                with_bias=True,
                w_initializer=self.initializers["w"],
                b_initializer=self.initializers["b"])
            x_sample = conv_layer(
                g_h5, is_training=is_training, keep_prob=keep_prob_ph)
        return tf.image.resize_images(x_sample, image_size[:-1])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: NifTK/NiftyNet
Commit Name: 30dfa316d689a232c2e6deaa813827be52aba961
Time: 2017-09-12
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/network/simulator_gan.py
Class Name: ImageGenerator
Method Name: layer_op


Project Name: deepchem/deepchem
Commit Name: 5a2eff2f6b46d6ac2cbbe96fdc40d40204b88ce6
Time: 2016-03-28
Author: jgomes@berkeley.edu
File Name: deepchem/transformers/__init__.py
Class Name: CoulombBinarizationTransformer
Method Name: transform_row


Project Name: deepdrive/deepdrive
Commit Name: 0eefefaa7b78113e3402c9fa3924c9444fbf46ff
Time: 2018-06-11
Author: cquiter@gmail.com
File Name: vendor/openai/baselines/ppo2/policies.py
Class Name: MlpPolicy
Method Name: __init__