You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
419 B
17 lines
419 B
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: ...
|