haoneng.lhn
2023-09-19 9a7ea0f10e936277674f7e4cd17d4e9616706bff
funasr/datasets/large_datasets/datapipes/map.py
@@ -14,7 +14,7 @@
        self.fn = fn
    def set_epoch(self, epoch):
        self.epoch = epoch
        self.datapipe.set_epoch(epoch)
    def __iter__(self):
        assert callable(self.fn)