ce7dc229bea184b9d606a1fe6a19a30c2c4a0d36,aae/adversarial_autoencoder.py,AdversarialAutoencoder,build_encoder,#AdversarialAutoencoder#,58
Before Change
encoder.add(LeakyReLU(alpha=0.2))
encoder.add(BatchNormalization(momentum=0.8))
encoder.add(Dense(512))
encoder.add(LeakyReLU(alpha=0.2))
encoder.add(BatchNormalization(momentum=0.8))
encoder.add(Dense(self.encoded_dim))
After Change
h = Dense(512)(h)
h = LeakyReLU(alpha=0.2)(h)
h = Dense(512)(h)
h = LeakyReLU(alpha=0.2)(h)
mu = Dense(self.latent_dim)(h)
log_var = Dense(self.latent_dim)(h)
latent_repr = merge([mu, log_var],
mode=lambda p: p[0] + K.random_normal(K.shape(p[0])) * K.exp(p[1] / 2),
output_shape=lambda p: p[0])
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: eriklindernoren/Keras-GAN
Commit Name: ce7dc229bea184b9d606a1fe6a19a30c2c4a0d36
Time: 2018-05-11
Author: eriklindernoren@gmail.com
File Name: aae/adversarial_autoencoder.py
Class Name: AdversarialAutoencoder
Method Name: build_encoder
Project Name: HyperGAN/HyperGAN
Commit Name: fb659be27c144f9ec913a81c1cb8af2777f68cab
Time: 2020-02-18
Author: martyn@255bits.com
File Name: hypergan/generators/resizable_generator.py
Class Name: ResizableGenerator
Method Name: create
Project Name: Zhaoyi-Yan/Shift-Net_pytorch
Commit Name: dc9aafd83851f7c55c6fe61702e281856ec023ca
Time: 2018-12-13
Author: yanzhaoyi@outlook.com
File Name: models/modules/shift_unet.py
Class Name: InceptionUnetSkipConnectionBlock
Method Name: __init__