Skip to content

Commit

Permalink
docs: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kozistr committed Jul 21, 2024
1 parent c599541 commit 137f336
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytorch_optimizer/base/optimizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def debias(beta: float, step: int) -> float:
r"""Adam-style debias correction. Returns `1.0 - beta ** step`.
:param beta: float. beta.
:param step. int. number of step.
:param step: int. number of step.
"""
return 1.0 - math.pow(beta, step) # fmt: skip

Expand Down

0 comments on commit 137f336

Please sign in to comment.