Traktor/myenv/Lib/site-packages/torch/optim/lbfgs.pyi
2024-05-23 01:57:24 +02:00

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: ...