code: def hard_reset(self):
          
          if self.seq is not None and self.shuffle:
              random.shuffle(self.seq)
          if self.imgrec is not None:
              self.imgrec.reset()
          self.cur = 0
          self._allow_read = True
          self._cache_data = None
          self._cache_label = None
          self._cache_idx = None
docs: Resets the iterator and ignore roll over data