Correcting docstring typo.
This commit is contained in:
parent
1fd2b84353
commit
fa2f6b195c
@ -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.
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user