class_docstr: Handles input pipeline for SimdMeshImpl.
class_docstr_tok: ["Handles","input","pipeline","for","SimdMeshImpl","."]
docstr: Start running enqueue ops in a thread.
  
  Args:
    sess: A tf.Session.
    number_steps: Number of times to call sess.run(enqueue_ops).
      default is -1 (forever).
    initial_wait_sec: Number of seconds to wait before starting the enqueue
      loop. Default is 0.5.
docstr_tok: ["Start","running","enqueue","ops","in","a","thread",".","Args",":","sess",":","A","tf.Session",".","number_steps",":","Number","of","times","to","call","sess.run","(","enqueue_ops",")",".","default","is","-1","(","forever",")",".","initial_wait_sec",":","Number","of","seconds","to","wait","before","starting","the","enqueue","loop",".","Default","is","0.5","."]
code: def start_infeed_thread(
      self, sess, number_steps=-1, initial_wait_sec=0.5
  ):
      """Start running enqueue ops in a thread.
  
      Args:
        sess: A tf.Session.
        number_steps: Number of times to call sess.run(enqueue_ops).
          default is -1 (forever).
        initial_wait_sec: Number of seconds to wait before starting the enqueue
          loop. Default is 0.5.
      """
  
      def _thread_fn():
          time.sleep(initial_wait_sec)
          if number_steps > 0:
              for _ in range(number_steps):
                  sess.run(self._enqueue_ops)
          else:
              while True:
                  sess.run(self._enqueue_ops)
  
      sess.run(self._input_initializers)
      self._infeed_thread = threading.Thread(target=_thread_fn)
      self._infeed_thread.start()
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import collections
  import threading
  import time
  import numpy
  from six.moves import range
  from six.moves import zip
  import tensorflow.compat.v1
  from tensorflow.python.framework import ops
  from tensorflow.python.tpu import tpu_feed
label_desc: Use image node_id 3 for calling the SimdMeshImplInputReader obj's underlying member method code with example usage: obj.start_infeed_thread(sess, number_steps, initial_wait_sec) without return types