14 lines
298 B
Python
14 lines
298 B
Python
from typing import Tuple
|
|
|
|
from .optimizer import Optimizer, ParamsT
|
|
|
|
class Adamax(Optimizer):
|
|
def __init__(
|
|
self,
|
|
params: ParamsT,
|
|
lr: float = ...,
|
|
betas: Tuple[float, float] = ...,
|
|
eps: float = ...,
|
|
weight_decay: float = ...,
|
|
) -> None: ...
|