    def skip(self, n):
        """Fast-forward the iterator by skipping n elements."""
        for _ in range(n):
            next(self)
        return self
Fast-forward the iterator by skipping n elements.
fairseq/data/iterators.py