code: def set_epoch(self, epoch, batch_size):
      self.indices = np.array([0] * len(self.buckets_idcs))
      self.step = 0
      self.epoch = epoch
      self.batch_size = batch_size
      self.steps_per_epoch = self._compute_steps_per_epoch()
  
file_path: ludwig/ludwig/data/batcher/bucketed.py
imports: import numpy
  from ludwig.data.batcher.base import Batcher
label_desc: Use image node_id 5 for calling the BucketedBatcher obj's underlying member method code with example usage: obj.set_epoch(epoch, batch_size) without return types