    def ordered_indices(self):
        """Return an ordered list of indices. Batches will be constructed based
        on this order."""
        if self.shuffle:
            order = [np.random.permutation(len(self))]
        else:
            order = [np.arange(len(self))]

        return order[0]
Return an ordered list of indices. Batches will be constructed based
on this order.
examples/data2vec/data/image_dataset.py