9010d90576d8da39f8c3be180cbccd0d1663f7c2,hypergan/discriminators/pyramid_nostride_discriminator.py,,discriminator,#Any#Any#Any#Any#Any#Any#Any#,29
Before Change
for i in range(depth):
//TODO better name for `batch_norm`?
if batch_norm is not None:
net = batch_norm(batch_size*2, name=prefix+"_expand_bn_"+str(i))(net)
net = activation(net)
//TODO: cross-d, overwritable
// APPEND xs[i] and gs[i]
if(i < len(xs) and i > 0):
After Change
batch_size = int(x.get_shape()[0])
// TODO: This is standard optimization from improved GAN, cross-d feature
if config["layer_filter"]:
g_filter = tf.concat(3, [g, config["layer_filter"](None, x)])
x_filter = tf.concat(3, [x, config["layer_filter"](None, x)])
net = tf.concat(0, [x_filter,g_filter] )
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: HyperGAN/HyperGAN
Commit Name: 9010d90576d8da39f8c3be180cbccd0d1663f7c2
Time: 2017-01-29
Author: martyn@255bits.com
File Name: hypergan/discriminators/pyramid_nostride_discriminator.py
Class Name:
Method Name: discriminator
Project Name: HyperGAN/HyperGAN
Commit Name: 81871180c30f64aafdac700c4d2d2993e81577b6
Time: 2017-01-05
Author: martyn@255bits.com
File Name: hypergan/generators/resize_conv.py
Class Name:
Method Name: generator
Project Name: HyperGAN/HyperGAN
Commit Name: 3b7bb4e8caee69567bd83046f9a7370bd3081935
Time: 2016-10-19
Author: martyn@255bits.com
File Name: shared/gan.py
Class Name:
Method Name: discriminator_fast_densenet