Traktor/myenv/Lib/site-packages/torch/optim/sgd.pyi
2024-05-26 05:12:46 +02:00

13 lines
294 B
Python

from .optimizer import Optimizer, ParamsT
class SGD(Optimizer):
def __init__(
self,
params: ParamsT,
lr: float = ...,
momentum: float = ...,
dampening: float = ...,
weight_decay: float = ...,
nesterov: bool = ...,
) -> None: ...