5f42f5ca343da1712ff202603ce34b1695590cc1,hypergan/discriminators/pyramid_nostride_discriminator.py,,discriminator,#Any#Any#Any#Any#Any#Any#Any#,30

Before Change


    k=-1
    //if batch_norm is not None:
    //    net = batch_norm(batch_size*2, name=prefix+"_expand_bn_end_"+str(i))(net)
    net = activation(net)
    net = tf.reshape(net, [batch_size*2, -1])

    //TODO: cross-d feature
    regularizers = []
    for regularizer in config["regularizers"]:
        regs = regularizer(root_config, net, prefix)
        regularizers += regs

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

After Change


    //    regularizers += regs

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


Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


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


Project Name: dmlc/dgl
Commit Name: 927d2b319bc7a6c31c63ad64e6124477c2a5b583
Time: 2020-12-28
Author: mufeili1996@gmail.com
File Name: examples/pytorch/ogb/ogbn-products/graphsage/main.py
Class Name: SAGE
Method Name: inference


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