Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Test] Add more test cases #45

Merged
merged 16 commits into from
Jan 29, 2022
Prev Previous commit
Next Next commit
update: check_valid_parameters
  • Loading branch information
kozistr committed Jan 29, 2022
commit 0a140b21cff0ffab36e4ebcd652412b8d1ac7927
2 changes: 2 additions & 0 deletions pytorch_optimizer/adabound.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ def __init__(
self.fixed_decay = fixed_decay
self.eps = eps

self.check_valid_parameters()

defaults: DEFAULTS = dict(
lr=lr,
betas=betas,
Expand Down