Skip to content

Commit b39083a

Browse files
Merge pull request #17 from lengstrom/patch-1
Update README.md
2 parents bf2e0ac + 14e9074 commit b39083a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ Section('optim').params(
244244
algorithm=Param(str)
245245
)
246246

247-
Section('optim.alpha').enable_if(labmda cfg: cfg['optim.algorithm'] == 'Adam').params(
247+
Section('optim.alpha').enable_if(lambda cfg: cfg['optim.algorithm'] == 'Adam').params(
248248
'momentum': Param(float, required=True),
249249
'alpha': Param(float, default=1.0),
250250
'beta': Param(float, default=1.0)

0 commit comments

Comments
 (0)