Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
`decay` in `SGD` is not a shared value, so it does not have a `get_value` method.
  • Loading branch information
jfsantos committed Oct 13, 2015
1 parent 40a9bd7 commit f62c03b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keras/optimizers.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def get_config(self):
return {"name": self.__class__.__name__,
"lr": float(self.lr.get_value()),
"momentum": float(self.momentum.get_value()),
"decay": float(self.decay.get_value()),
"decay": float(self.decay),
"nesterov": self.nesterov}


Expand Down

0 comments on commit f62c03b

Please sign in to comment.