Skip to content

Commit

Permalink
fix: [pre-commit.ci] auto fixes [...]
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Jun 18, 2023
1 parent 2bbe86e commit 0df82fc
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions torchopt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@
from torchopt.clip import clip_grad_norm
from torchopt.combine import chain
from torchopt.hook import register_hook
from torchopt.optim import SGD, AdaGrad, Adagrad, Adam, Adadelta, AdamW, Optimizer, RMSProp, RMSprop
from torchopt.optim import SGD, Adadelta, AdaGrad, Adagrad, Adam, AdamW, Optimizer, RMSProp, RMSprop
from torchopt.optim.func import FuncOptimizer
from torchopt.optim.meta import (
MetaAdadelta,
MetaAdaGrad,
MetaAdagrad,
MetaAdam,
MetaAdadelta,
MetaAdamW,
MetaOptimizer,
MetaRMSProp,
Expand Down
2 changes: 1 addition & 1 deletion torchopt/optim/meta/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
# ==============================================================================
"""Differentiable Meta-Optimizers."""

from torchopt.optim.meta.adadelta import MetaAdadelta
from torchopt.optim.meta.adagrad import MetaAdaGrad, MetaAdagrad
from torchopt.optim.meta.adam import MetaAdam
from torchopt.optim.meta.adadelta import MetaAdadelta
from torchopt.optim.meta.adamw import MetaAdamW
from torchopt.optim.meta.base import MetaOptimizer
from torchopt.optim.meta.rmsprop import MetaRMSProp, MetaRMSprop
Expand Down
2 changes: 1 addition & 1 deletion torchopt/transform/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
from torchopt.transform.add_decayed_weights import add_decayed_weights, masked
from torchopt.transform.nan_to_num import nan_to_num
from torchopt.transform.scale import scale
from torchopt.transform.scale_by_adam import scale_by_accelerated_adam, scale_by_adam
from torchopt.transform.scale_by_adadelta import scale_by_adadelta
from torchopt.transform.scale_by_adam import scale_by_accelerated_adam, scale_by_adam
from torchopt.transform.scale_by_rms import scale_by_rms
from torchopt.transform.scale_by_rss import scale_by_rss
from torchopt.transform.scale_by_schedule import scale_by_schedule
Expand Down

0 comments on commit 0df82fc

Please sign in to comment.