Error: Tensorflow CNN dimension
问题 Hi. I'm new to Tensorflow and trying to run cifar10 dataset with CNN. My Network is constructed with three layers such as Convolution + Max Pooling Fully Connected Layer Softmax Layer Below is my tensorflow code of the model. 15 def model(X, w, w2, w_o, p_keep_conv, p_keep_hidden): 16 17 layer1 = tf.nn.relu(tf.nn.conv2d(X, w,strides=[1, 1, 1, 1], padding='SAME')) 18 layer1 = tf.nn.max_pool(l1, ksize=[1, 2, 2, 1],strides=[1, 2, 2, 1], padding='SAME') 19 20 layer1 = tf.reshape(l1,[-1,w2.get