Machine Learning, Data Science, Deep Learning, Artificial Intelligence, Towards Data Science.
generator_model(latent_dim=100, leaky_alpha=0.2, init_stddev=0.02): g = Sequential() g.add(Dense(4*4*512, input_shape=(latent_dim,), kernel_initializer=RandomNormal(stddev=init_stddev))) g.add(Reshape(target_shape=(4, 4, 512))) g.add(BatchNormalization())