Class LBFGS¶
Defined in File lbfgs.h
Page Contents
Inheritance Relationships¶
Base Type¶
public torch::optim::Optimizer
(Class Optimizer)
Class Documentation¶
-
class LBFGS : public torch::optim::Optimizer¶
Public Functions
-
inline explicit LBFGS(const std::vector<OptimizerParamGroup> ¶m_groups, LBFGSOptions defaults = {})¶
-
inline explicit LBFGS(std::vector<Tensor> params, LBFGSOptions defaults = {})¶
-
virtual Tensor step(LossClosure closure) override¶
A loss function closure, which is expected to return the loss value.
-
inline explicit LBFGS(const std::vector<OptimizerParamGroup> ¶m_groups, LBFGSOptions defaults = {})¶