Shortcuts

Struct LBFGSParamState

Inheritance Relationships

Base Type

Struct Documentation

struct LBFGSParamState : public torch::optim::OptimizerCloneableParamState<LBFGSParamState>

Public Functions

inline auto func_evals(const int64_t &new_func_evals) -> decltype(*this)
inline auto func_evals(int64_t &&new_func_evals) -> decltype(*this)
inline const int64_t &func_evals() const noexcept
inline int64_t &func_evals() noexcept
inline auto n_iter(const int64_t &new_n_iter) -> decltype(*this)
inline auto n_iter(int64_t &&new_n_iter) -> decltype(*this)
inline const int64_t &n_iter() const noexcept
inline int64_t &n_iter() noexcept
inline auto t(const double &new_t) -> decltype(*this)
inline auto t(double &&new_t) -> decltype(*this)
inline const double &t() const noexcept
inline double &t() noexcept
inline auto prev_loss(const double &new_prev_loss) -> decltype(*this)
inline auto prev_loss(double &&new_prev_loss) -> decltype(*this)
inline const double &prev_loss() const noexcept
inline double &prev_loss() noexcept
inline auto d(const Tensor &new_d) -> decltype(*this)
inline auto d(Tensor &&new_d) -> decltype(*this)
inline const Tensor &d() const noexcept
inline Tensor &d() noexcept
inline auto H_diag(const Tensor &new_H_diag) -> decltype(*this)
inline auto H_diag(Tensor &&new_H_diag) -> decltype(*this)
inline const Tensor &H_diag() const noexcept
inline Tensor &H_diag() noexcept
inline auto prev_flat_grad(const Tensor &new_prev_flat_grad) -> decltype(*this)
inline auto prev_flat_grad(Tensor &&new_prev_flat_grad) -> decltype(*this)
inline const Tensor &prev_flat_grad() const noexcept
inline Tensor &prev_flat_grad() noexcept
inline auto old_dirs(const std::deque<Tensor> &new_old_dirs) -> decltype(*this)
inline auto old_dirs(std::deque<Tensor> &&new_old_dirs) -> decltype(*this)
inline const std::deque<Tensor> &old_dirs() const noexcept
inline std::deque<Tensor> &old_dirs() noexcept
inline auto old_stps(const std::deque<Tensor> &new_old_stps) -> decltype(*this)
inline auto old_stps(std::deque<Tensor> &&new_old_stps) -> decltype(*this)
inline const std::deque<Tensor> &old_stps() const noexcept
inline std::deque<Tensor> &old_stps() noexcept
inline auto ro(const std::deque<Tensor> &new_ro) -> decltype(*this)
inline auto ro(std::deque<Tensor> &&new_ro) -> decltype(*this)
inline const std::deque<Tensor> &ro() const noexcept
inline std::deque<Tensor> &ro() noexcept
inline auto al(const std::optional<std::vector<Tensor>> &new_al) -> decltype(*this)
inline auto al(std::optional<std::vector<Tensor>> &&new_al) -> decltype(*this)
inline const std::optional<std::vector<Tensor>> &al() const noexcept
inline std::optional<std::vector<Tensor>> &al() noexcept
virtual void serialize(torch::serialize::InputArchive &archive) override
virtual void serialize(torch::serialize::OutputArchive &archive) const override

Friends

friend bool operator==(const LBFGSParamState &lhs, const LBFGSParamState &rhs)

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources