def set_data_loader(self):
        def data_loader(x):
            return x

        self.data_loader = data_loader
        self.dl_kwargs = {}
Set data_loader for generator. This is handled for generality.
dataset/ETHPy150Open longubu/datumio/datumio/datagen.py/BatchGenerator.set_data_loader