573c3583105fc1f48f485cb606b9d959fec79be2,hypergan/discriminators/pyramid_nostride_discriminator.py,,discriminator,#Any#Any#Any#Any#Any#Any#Any#,30

Before Change


        regs = regularizer(root_config, net, prefix)
        regularizers += regs

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


After Change


    if batch_norm is not None:
        net = batch_norm(batch_size*2, name=prefix+"_expand_bn_end_"+str(i))(net)
    net = tf.tanh(net)//activation(net)
    net = conv2d(net, int(int(net.get_shape()[3])*depth_increase), name=prefix+"_expaer"+str(i), k_w=1, k_h=1, d_h=1, d_w=1, regularizer=1.)
    net = tf.reshape(net, [batch_size*2, -1])

    //TODO: cross-d feature
    //regularizers = []
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


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


Project Name: HyperGAN/HyperGAN
Commit Name: 41f7cac9bdc4e3641d77fff81ce751b68bd6b36b
Time: 2017-05-20
Author: martyn@255bits.com
File Name: hypergan/generators/common.py
Class Name:
Method Name: standard_block


Project Name: gpleiss/efficient_densenet_pytorch
Commit Name: b96c824d5fc325b6f3ad4d10031a7ec28f9e941f
Time: 2018-03-05
Author: gpleiss@gmail.com
File Name: models/densenet_efficient.py
Class Name: _EfficientDensenetBottleneck
Method Name: forward