keras/src/legacy/preprocessing/image.py/Iterator/_get_batches_of_transformed_samples
class Iterator:    def _get_batches_of_transformed_samples(self, index_array):
        """Gets a batch of transformed samples.

        Args:
            index_array: Array of sample indices to include in batch.
        Returns:
            A batch of transformed samples.
        """
        raise NotImplementedError