fix momentum quantity in Neumann optimizer
This commit is contained in:
parent
5a07cdac32
commit
c92082e07a
1 changed files with 1 additions and 1 deletions
|
@ -361,7 +361,7 @@ class Neumann(Optimizer):
|
|||
|
||||
# momentum quantity:
|
||||
mu = _1 - _1/_f(self.t) # the + 1 is implicit.
|
||||
mu = (mu + self.mu_min) * (self.mu_max - self.mu_min)
|
||||
mu = (self.mu_max - self.mu_max) * mu + self.mu_min
|
||||
|
||||
# smoothed change in weights:
|
||||
delta = W - self.vt
|
||||
|
|
Loading…
Reference in a new issue