zhifu gao
2024-03-29 320c7ff2c2dfbce13ee01589a64b515bf2d7857b
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)