title: tf.nn.conv2d_transpose output_shape for FCN
body: <p>I want to implement deconvolution layer in tensorflow for FCN model, I used tf.nn.conv2d_transpose for each of 5 conv outputs, what I need is that the output shape of each of the 5 deconv to be the same as the input image shape. So I set </p>
  
  <pre><code>deconv_shape = tf.shape(input)
  tf.nn.conv2d_transpose(value=deconv5_1,
                         filter=[32, 32, 1, 1],
                         output_shape=deconv_shape,
                         strides=16,
                         padding="same",
                         name="deconv5_2")
  </code></pre>
  
  <p>Am I doing it right?</p>