code: def __init__(self, dataset, batch_size, q, shuffle=True, loop=True):
      self._dataset = dataset
      self._batch_size = batch_size
  
      self._q = q
      self._shuffle = shuffle
      self._loop = loop
      self._state = 0
  
      super(_ExplicitSampler, self).__init__()
  
file_path: openrec/openrec/tf1/legacy/utils/samplers/explicit_sampler.py
imports: import numpy
  from multiprocessing import Process
  from openrec.tf1.legacy.utils.samplers import Sampler
label_desc: Use image node_id 1 to create a new _ExplicitSampler object from inherited base classes: Process with example: obj = _ExplicitSampler(dataset, batch_size, q, shuffle, loop)