code: def run(self):
      for input_npy in self._generate_batch(self._dataset):
          self._q.put(input_npy, block=True)
  
file_path: openrec/openrec/tf1/utils/samplers/sampler.py
imports: from multiprocessing import Process, Queue
label_desc: Use image node_id 2 for calling the _Sampler obj's underlying member method code with example usage: obj.run() without return types