I am learning TensorFLow. So to understand how to make something, I tried to copy some code from a source and execute it. But I\'m hitting an error message. So I tried some
You need to reshape X.
X = tf.placeholder(tf.float32 , [None ,28 , 28 , 1]) X = tf.reshape(X , [-1 , 784])