title: Tensorflow: How to switch channels of a tensor from RGB to BGR?
body: <p>Is there a quick way to convert tensors which encode an image from RGB to BGR?</p>
  
  <p>In python that would be something like:</p>
  
  <pre><code>image = image[:, :, [2,1,0]]
  </code></pre>