title: How does TersorFlow expect flattened images?
body: <p>When performing 2D convolutions in TersorFlow using the <code>conv_2d</code> layer, does it expect the pixels to be lined up as </p>
  
  <pre><code>[
    [img[i].red, img[i].green, img[i].blue],
    [img[i+1].red, etc.],
  ]
  </code></pre>
  
  <p>Or</p>
  
  <pre><code>[
     [mg[i].red, img[i+1].red, etc.],
     [mg[i].green, img[i+1].green, etc.],
  ]
  </code></pre>
  
  <p>or some other way?</p>