Skip to content

Commit

Permalink
Change Moment to Momentum
Browse files Browse the repository at this point in the history
  • Loading branch information
rrmina committed Mar 31, 2019
1 parent 2d723e5 commit d2bdd65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eureka/optim.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def step(self):
layer.w -= self.lr * layer.dw
layer.b -= self.lr * layer.db

class Moment(object):
class Momentum(object):
def __init__(self, model_instance, lr=0.01, beta_1=0.9):
self.model_instance = model_instance
self.lr = lr
Expand Down

0 comments on commit d2bdd65

Please sign in to comment.