def setData(self, dataset):
        self.ds = dataset
        if dataset:
            assert dataset.indim == self.module.indim
            assert dataset.outdim == self.module.outdim
Associate the given dataset with the trainer.
dataset/ETHPy150Open pybrain/pybrain/pybrain/supervised/trainers/trainer.py/Trainer.setData