I've seen a code do this: x = tf.placeholder() x_1 = tf.reshape(x, [-1, 28, 28, 1]) For an 4D image, the shape stands for [batch size, ...
確定! 回上一頁