6 lines
257 B
Python
6 lines
257 B
Python
|
from typing import Tuple
|
||
|
from .optimizer import _params_t, Optimizer
|
||
|
|
||
|
class Adam(Optimizer):
|
||
|
def __init__(self, params: _params_t, lr: float=..., betas: Tuple[float, float]=..., eps: float=..., weight_decay: float=..., amsgrad: bool = ...) -> None: ...
|