code: def __init__(
      self, dataset, batch_size, num_process=5, chronological=False
  ):
      self._chronological = chronological
  
      if self._chronological:
          num_process = 1
  
      super(ExplicitSampler, self).__init__(
          dataset=dataset,
          batch_size=batch_size,
          num_process=num_process,
      )
  
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: Sampler with example: obj = ExplicitSampler(dataset, batch_size, num_process, chronological)