Skip to content

Commit

Permalink
fixed pep8 error
Browse files Browse the repository at this point in the history
  • Loading branch information
Yurii Shevchuk committed Feb 3, 2018
1 parent c504a35 commit f7303d9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion neupy/algorithms/gd/adam.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ def init_param_updates(self, layer, parameter):
)

first_moment_bias_corrected = first_moment / (1. - self.beta1 ** epoch)
second_moment_bias_corrected = second_moment / (1. - self.beta2 ** epoch)
second_moment_bias_corrected = (
second_moment / (1. - self.beta2 ** epoch))

parameter_delta = first_moment_bias_corrected * (
T.sqrt(second_moment_bias_corrected) + self.epsilon
Expand Down

0 comments on commit f7303d9

Please sign in to comment.