Utility function for obtaining current batch of label.
(self)
| 332 | return self._data[self.it] |
| 333 | |
| 334 | def labels(self) -> Any: |
| 335 | """Utility function for obtaining current batch of label.""" |
| 336 | return self._labels[self.it] |
| 337 | |
| 338 | def reset(self) -> None: |
| 339 | """Reset the iterator""" |