89fce6b0e5baf9c3b844c068d37956912f9f47e4,hypergan/discriminators/fully_connected_discriminator.py,FullyConnectedDiscriminator,build,#FullyConnectedDiscriminator#Any#,12

Before Change


        print("[fully connected discriminator] creating FC layer from ", net)
        net = ops.linear(net, 512)//config.features or ops.shape(net)[-1])
        net = activation(net)
        net = ops.linear(net, 512)//config.features or ops.shape(net)[-1])
        //net = ops.linear(net, config.features or ops.shape(net)[-1])
        if final_activation:
            net = final_activation(net)

After Change


        print("[fully connected discriminator] creating FC layer from ", net)
        net = ops.linear(net, config.features or ops.shape(net)[-1])
        for i in range(config.layers or 1):
            net = self.layer_regularizer(net)
            net = activation(net)
            net = ops.linear(net, config.features or ops.shape(net)[-1])

        if final_activation:
            net = self.layer_regularizer(net)
            net = final_activation(net)

        self.sample = net
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: HyperGAN/HyperGAN
Commit Name: 89fce6b0e5baf9c3b844c068d37956912f9f47e4
Time: 2017-09-24
Author: martyn@255bits.com
File Name: hypergan/discriminators/fully_connected_discriminator.py
Class Name: FullyConnectedDiscriminator
Method Name: build


Project Name: HyperGAN/HyperGAN
Commit Name: 4608f590d88eeaf1661e3911a7ee943f75269321
Time: 2017-06-07
Author: martyn@255bits.com
File Name: hypergan/losses/category_loss.py
Class Name: CategoryLoss
Method Name: _create


Project Name: HyperGAN/HyperGAN
Commit Name: a950bb7b2bb426f13d363a87a295734264c89495
Time: 2017-08-19
Author: mikkel@255bits.com
File Name: hypergan/discriminators/fully_connected_discriminator.py
Class Name: FullyConnectedDiscriminator
Method Name: build