

def _iterate(self):
    for (args, kwargs) in self.args:
        step_m1 = self.step
        d = self.decay
        o = self.offset
        m = self.momentum
        step1 = (step_m1 * m)
        self.wrt -= step1
        gradient = self.fprime(self.wrt, *args, **kwargs)
        self.gms = ((d * self.gms) + ((1 - d) * (gradient ** 2)))
        step2 = (((sqrt((self.sms + o)) / sqrt((self.gms + o))) * gradient) * self.step_rate)
        self.wrt -= step2
        self.step = (step1 + gradient)
        self.sms = ((d * self.sms) + ((1 - d) * (self.step ** 2)))
        self.n_iter += 1
        (yield {
            'n_iter': self.n_iter,
            'gradient': gradient,
            'args': args,
            'kwargs': kwargs,
        })

dataset/ETHPy150Open BRML/climin/climin/adadelta.py Adadelta._iterate/VarMisuse@155/176 `step2`->`gradient`