File size: 435 Bytes
c61ccee
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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: ...