Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lengstrom authored Nov 11, 2021
1 parent bf2e0ac commit 14e9074
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 14e9074

Please sign in to comment.