Define the input placeholders

Now we define the placeholder for the input, , the noise, , and the code, :

batch_size = 64
input_shape = [batch_size, 28,28,1]


x = tf.placeholder(tf.float32, input_shape)
z = tf.placeholder(tf.float32, [batch_size, 64])
c = tf.placeholder(tf.float32, [batch_size, 10])

is_train = tf.placeholder(tf.bool)
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset