e4ee8e989f0ee8138798c290233c1c3ec7d3fb61,lib/gan.py,,generator,#Any#Any#Any#,9
Before Change
//noise = tf.random_uniform(new_shape,-1, 1, dtype=config["dtype"])
//net = tf.concat(3, [net,noise])
net = conv2d(net, z_proj_dims, name="g_conv_proj", k_w=1, k_h=1, d_h=1, d_w=1)
print("Generator created conv layer:", net)
net = tf.reshape(net, [config["batch_size"],1,1,z_proj_dims])
After Change
gz = int(net.get_shape()[1])
net = linear(net, z_proj_dims*primes[0]*primes[1], scope="g_lin_proj")
new_shape = [config["batch_size"], primes[0],primes[1],z_proj_dims]
net = tf.reshape(net, new_shape)
//noise = tf.random_uniform(new_shape,-1, 1, dtype=config["dtype"])
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances
Project Name: HyperGAN/HyperGAN
Commit Name: e4ee8e989f0ee8138798c290233c1c3ec7d3fb61
Time: 2016-10-29
Author: martyn@255bits.com
File Name: lib/gan.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
Project Name: HyperGAN/HyperGAN
Commit Name: d0334962f6602fd835b0ed7219a972ebc36bb0fd
Time: 2017-03-23
Author: mikkel@255bits.com
File Name: hypergan/discriminators/pyramid_discriminator.py
Class Name:
Method Name: discriminator