fix a couple comments

This commit is contained in:
Connor Olding 2019-03-22 13:10:42 +01:00
parent bf4ec2ec94
commit 06bbfc6340
2 changed files with 3 additions and 5 deletions

View File

@ -409,8 +409,6 @@ class Adamax(Optimizer):
self.mt = np.zeros_like(dW)
if self.vt is None:
self.vt = np.zeros_like(dW)
#self.vt = np.full_like(dW, 0.001) # NOTE: experimenting.
#self.vt = np.full_like(dW, self.lr) # NOTE: experimenting.
mt = filter_gradients(self.mt, dW, self.b1)
vt = np.maximum(self.b2 * self.vt, np.abs(dW))