title: How to Know if Keras is using GPU or CPU
body: <p>Is there any way to check if the Keras framework is using the GPU or CPU for training the model?</p>
  <p>I am training my model on GPU using keras but its so slow that I'm unsure if it's using CPU or GPU for training.</p>