17 lines
419 B
Python
17 lines
419 B
Python
from typing import Optional
|
|
|
|
from .optimizer import Optimizer, ParamsT
|
|
|
|
class LBFGS(Optimizer):
|
|
def __init__(
|
|
self,
|
|
params: ParamsT,
|
|
lr: float = ...,
|
|
max_iter: int = ...,
|
|
max_eval: Optional[int] = ...,
|
|
tolerance_grad: float = ...,
|
|
tolerance_change: float = ...,
|
|
history_size: int = ...,
|
|
line_search_fn: Optional[str] = ...,
|
|
) -> None: ...
|