title: I'm trying to implement 'multi-threading' to do both training and prediction(testing) at the same time
body: <p>I'm trying to implement 'multi-threading' to do both training and prediction(testing) at the same time. And I'm gonna use the python module 'threading' as  shown in <a href="https://www.tensorflow.org/api_docs/python/tf/FIFOQueue" rel="nofollow noreferrer">https://www.tensorflow.org/api_docs/python/tf/FIFOQueue</a>
  And the followings are questions.</p>
  
  <ol>
  <li><p>If I use the python module 'threading', does tensorflow use more portion of gpu or more portion of cpu?</p></li>
  <li><p>Do I have to make two graphs(neural nets which have the same topology) in tensorflow one for prediction and the other for training? Or is it okay to make just one graph?</p></li>
  </ol>
  
  <p>I'll be very grateful to anyone who can answer these questions! thanks!</p>