code: def set_epoch(self, epoch, batch_size):
      self.batch_size = batch_size
      self.steps_per_epoch = self._compute_steps_per_epoch()
      self.index = 0
      self.step = 0
      self.sampler.set_epoch(epoch)
      self.sample_it = iter(self.sampler)
  
file_path: ludwig/ludwig/data/batcher/random_access.py
imports: import logging
  import math
  import torch
  from ludwig.api_annotations import DeveloperAPI
  from ludwig.data.batcher.base import Batcher
label_desc: Use image node_id 4 for calling the RandomAccessBatcher obj's underlying member method code with example usage: obj.set_epoch(epoch, batch_size) without return types