Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Mar 11, 2024
1 parent 84fad56 commit 99d2e2f
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions deepmd/pt/optimizer/LKF.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,7 @@ def __init__(
kalman_nue=0.9987,
block_size=5120,
):
defaults = {
"lr":0.1,
"kalman_nue":kalman_nue,
"block_size":block_size
}
defaults = {"lr": 0.1, "kalman_nue": kalman_nue, "block_size": block_size}

super().__init__(params, defaults)

Expand Down

0 comments on commit 99d2e2f

Please sign in to comment.