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

13 lines
267 B
Python

from typing import Tuple
from .optimizer import Optimizer, ParamsT
class SparseAdam(Optimizer):
def __init__(
self,
params: ParamsT,
lr: float = ...,
betas: Tuple[float, float] = ...,
eps: float = ...,
) -> None: ...