title: TensorFlow: How to verify that it is running on GPU
body: <p>I am looking for a simple way of verifying that my <code>TF</code> graphs are actually running on the GPU. </p>
  
  <p>PS. It would also be nice to verify that the <code>cuDNN</code> library is used.</p>