快捷方式

torchrl.trainers.algorithms.configs.utils.LBFGSConfig

class torchrl.trainers.algorithms.configs.utils.LBFGSConfig(lr: float = 1.0, max_iter: int = 20, max_eval: int | None = None, tolerance_grad: float = 1e-07, tolerance_change: float = 1e-09, history_size: int = 100, line_search_fn: str | None = None, _target_: str = 'torch.optim.LBFGS', _partial_: bool = True)[原始碼]

LBFGS 最佳化器的配置。

文件

訪問全面的 PyTorch 開發者文件

檢視文件

教程

為初學者和高階開發者提供深入的教程

檢視教程

資源

查詢開發資源並讓您的問題得到解答

檢視資源