快捷方式

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 开发者文档

查看文档

教程

为初学者和高级开发者提供深入的教程

查看教程

资源

查找开发资源并让您的问题得到解答

查看资源