def __init__(self, trainer, patience=10):
        super(SimpleScheduler, self).__init__(trainer)
        self._iter = 0
        self._patience = patience
:type trainer: deepy.trainers.base.NeuralTrainer
dataset/ETHPy150Open zomux/deepy/deepy/trainers/annealers.py/SimpleScheduler.__init__