I don't understand the mnist example in 'deep mnist for experts' in Tensorflow.
In order to build a deep network, we stack several layers of this type. The second layer will have 64 features for each 5x5 patch.
W_conv2 = weight_variable([5, 5, 32, 64])
b_conv2 = bias_variable([64])
h_conv2 = tf.nn.relu(conv2d(h_pool1, W_conv2) + b_conv2)
h_pool2 = max_pool_2x2(h_conv2)
I don't know why outputchannel is 64.
I think we need to 32*2 * 5*5 filter for 64 outputchannel, so
W_conv2 = weight_variable([5, 5, 32, 2])
first of all, i'm sorry for not good english maybe you hard to understand my ask so i', write sudo code logic
inputimage = arr[1][28][28][32]
w_conv2 = arr[5][5][32][2]
output = [1][28][28][64]
for batch in 1
for input in 32
for output in 2
output[][][][input*output] = conv(inputimage,w_conv2)
i think it make 62 output feature using 32*2 filter and save memory what part is wrong?
thank you