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)