
        if len(self.inputs) % len(folds):
            raise TransformException(f"Ragged input count {len(self.inputs)} in {self.name}")

        group_size = len(self.inputs) // len(folds)
        if group_size < 1: