class_docstr: _WorkerlessEnqueuer queries data from a Keras Sequence directly on the main thread.  Used when
  workers=0.
class_docstr_tok: ["_WorkerlessEnqueuer","queries","data","from","a","Keras","Sequence","directly","on","the","main","thread",".","Used","when","workers=0","."]
code: def __init__(
      self,
      sequence: tf.keras.utils.Sequence,
      sampler: _Sampler,
      repeat: bool,
  ):
      self.sequence = sequence
      self.sampler = sampler
      self.repeat = repeat
  
imports: import abc
  import collections
  import multiprocessing
  import multiprocessing.queues
  import queue
  import threading
  from typing import Any, Deque, Dict, Iterator, Optional, Type, Union
  import numpy
  import tensorflow
  from determined.common import check
label_desc: Use image node_id 1 to create a new _WorkerlessEnqueuer object from inherited base classes: _Enqueuer with example: obj = _WorkerlessEnqueuer(sequence, sampler, repeat)