Traktor/myenv/Lib/site-packages/torch/optim/lbfgs.pyi

17 lines
419 B
Python
Raw Normal View History

2024-05-26 05:12:46 +02:00
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: ...