mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-01-10 07:28:15 -05:00
useless parens
This commit is contained in:
@@ -48,4 +48,4 @@ class RMSprop(Optimizer):
|
||||
def step(self):
|
||||
for i, t in enumerate(self.params):
|
||||
self.v[i] = self.decay * self.v[i] + (1 - self.decay) * np.square(t.grad)
|
||||
t.data -= (self.lr / (np.sqrt(self.v[i]) + self.eps)) * t.grad
|
||||
t.data -= self.lr / (np.sqrt(self.v[i]) + self.eps) * t.grad
|
||||
|
||||
Reference in New Issue
Block a user