Skip to content

Commit

Permalink
Merge pull request #17 from lengstrom/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
GuillaumeLeclerc authored Jan 29, 2022
2 parents bf2e0ac + 14e9074 commit b39083a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ Section('optim').params(
algorithm=Param(str)
)

Section('optim.alpha').enable_if(labmda cfg: cfg['optim.algorithm'] == 'Adam').params(
Section('optim.alpha').enable_if(lambda cfg: cfg['optim.algorithm'] == 'Adam').params(
'momentum': Param(float, required=True),
'alpha': Param(float, default=1.0),
'beta': Param(float, default=1.0)
Expand Down

0 comments on commit b39083a

Please sign in to comment.