I'm trying to visualize the output of a convolutional layer in tensorflow using the function tf.image_summary. I'm already using it successfully in other instances (e. g. visualizing the input image), but have some difficulties reshaping the output here correctly. I have the following conv layer: img_size = 256 x_image = tf.reshape(x, [-1,img_size, img_size,1], "sketch_image") W_conv1 = weight_var
