Skip to content

Instantly share code, notes, and snippets.

@Tathagatd96
Created August 27, 2018 20:22
Show Gist options
  • Save Tathagatd96/26c02becf761a28be97313b27ba101bf to your computer and use it in GitHub Desktop.
Save Tathagatd96/26c02becf761a28be97313b27ba101bf to your computer and use it in GitHub Desktop.
tf.reset_default_graph()
real_images=tf.placeholder(tf.float32,shape=[None,784])
z=tf.placeholder(tf.float32,shape=[None,100])
G=generator(z)
D_output_real,D_logits_real=discriminator(real_images)
D_output_fake,D_logits_fake=discriminator(G,reuse=True)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment