title: Reshaping Keras layers
body: <p>I have an input image 416x416. How can I create an output of 4 x 10, where 4 is number of columns and 10 the number of rows?</p>
  
  <p>My label data is 2D array with 4 columns and 10 rows.</p>
  
  <p>I know about the <code>reshape()</code> method but it requires that the resulted shape has same number of elements as the input.</p>
  
  <p>With 416 x 416 input size and max pools layers I can get max <code>13 x 13</code> output.</p>
  
  <p>Is there a way to achieve <code>4x10</code> output without loss of data? </p>
  
  <p>My input label data looks like for example like</p>
  
  <pre><code>[[  0   0   0   0]
   [  0   0   0   0]
   [  0   0   0   0]
   [  0   0   0   0]
   [  0   0   0   0]
   [  0   0   0   0]
   [  0   0   0   0]
   [116  16 128  51]
   [132  16 149  52]
   [ 68  31  77  88]
   [ 79  34  96  92]
   [126  37 147 112]
   [100  41 126 116]]
  </code></pre>
  
  <p>Which indicates there are  6 objects on my images that i want to detect, first value is xmin, second ymin , third xmax, fourth ymax.</p>
  
  <p>The last layer of my networks looks like</p>
  
  <pre><code>(None, 13, 13, 1024)
  </code></pre>