4d3816eca93049f89e9b7b33c2eee8db959cdd2f,hypergan/discriminators/densenet_discriminator.py,,discriminator,#Any#Any#Any#Any#Any#Any#Any#,29

Before Change


    net = activation(net)
    net = tf.reshape(net, [batch_size*2, -1])
 
    regularizers = []
    for regularizer in config["regularizers"]:
        regs = regularizer(root_config, net, prefix)
        regularizers += regs

    return tf.concat(1, [net]+regularizers)


After Change


        net = batch_norm(batch_size*2, name=prefix+"_expand_bn_end_"+str(i))(net)
    net = tf.reshape(net, [batch_size*2, -1])
 
    return net


Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 13

Instances


Project Name: HyperGAN/HyperGAN
Commit Name: 4d3816eca93049f89e9b7b33c2eee8db959cdd2f
Time: 2017-02-01
Author: mikkel@255bits.com
File Name: hypergan/discriminators/densenet_discriminator.py
Class Name:
Method Name: discriminator


Project Name: HyperGAN/HyperGAN
Commit Name: e132219b7b177f61d62eab50ea2a63a8b02de596
Time: 2017-02-09
Author: martyn@255bits.com
File Name: hypergan/discriminators/densenet_weighted_discriminator.py
Class Name:
Method Name: discriminator


Project Name: HyperGAN/HyperGAN
Commit Name: 4d3816eca93049f89e9b7b33c2eee8db959cdd2f
Time: 2017-02-01
Author: mikkel@255bits.com
File Name: hypergan/discriminators/densenet_discriminator.py
Class Name:
Method Name: discriminator


Project Name: HyperGAN/HyperGAN
Commit Name: e132219b7b177f61d62eab50ea2a63a8b02de596
Time: 2017-02-09
Author: martyn@255bits.com
File Name: hypergan/discriminators/fast_strided_discriminator.py
Class Name:
Method Name: discriminator


Project Name: HyperGAN/HyperGAN
Commit Name: 5f42f5ca343da1712ff202603ce34b1695590cc1
Time: 2017-01-30
Author: martyn@255bits.com
File Name: hypergan/discriminators/pyramid_nostride_discriminator.py
Class Name:
Method Name: discriminator