ai-content-maker/.venv/Lib/site-packages/torch/optim/sgd.pyi

13 lines
294 B
Python
Raw Normal View History

2024-05-03 04:18:51 +03:00
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: ...