Correcting docstring typo.

This commit is contained in:
Matt Graham 2016-10-08 22:19:49 +01:00
parent 1fd2b84353
commit fa2f6b195c

View File

@ -51,7 +51,7 @@ class GradientDescentLearningRule(object):
self.params = params self.params = params
def reset(self): def reset(self):
"""Resets any additional state variables to their intial values. """Resets any additional state variables to their initial values.
For this learning rule there are no additional state variables so we For this learning rule there are no additional state variables so we
do nothing here. do nothing here.
@ -138,7 +138,7 @@ class MomentumLearningRule(GradientDescentLearningRule):
self.moms.append(np.zeros_like(param)) self.moms.append(np.zeros_like(param))
def reset(self): def reset(self):
"""Resets any additional state variables to their intial values. """Resets any additional state variables to their initial values.
For this learning rule this corresponds to zeroing all the momenta. For this learning rule this corresponds to zeroing all the momenta.
""" """