雾聪
2023-06-29 d550a62bead38c06ab1430ae63c30fa46243e3c3
funasr/optimizers/sgd.py
@@ -1,5 +1,4 @@
import torch
from typeguard import check_argument_types
class SGD(torch.optim.SGD):
@@ -21,7 +20,6 @@
        weight_decay: float = 0.0,
        nesterov: bool = False,
    ):
        assert check_argument_types()
        super().__init__(
            params,
            lr=lr,