Struct RMSpropOptions¶
Defined in File rmsprop.h
Page Contents
Inheritance Relationships¶
Base Type¶
public torch::optim::OptimizerCloneableOptions< RMSpropOptions >
(Template Class OptimizerCloneableOptions)
Struct Documentation¶
-
struct RMSpropOptions : public torch::optim::OptimizerCloneableOptions<RMSpropOptions>¶
Public Functions
-
RMSpropOptions(double lr = 1e-2)¶
-
inline auto lr(const double &new_lr) -> decltype(*this)¶
-
inline auto lr(double &&new_lr) -> decltype(*this)¶
-
inline const double &lr() const noexcept¶
-
inline double &lr() noexcept¶
-
inline auto alpha(const double &new_alpha) -> decltype(*this)¶
-
inline auto alpha(double &&new_alpha) -> decltype(*this)¶
-
inline const double &alpha() const noexcept¶
-
inline double &alpha() noexcept¶
-
inline auto eps(const double &new_eps) -> decltype(*this)¶
-
inline auto eps(double &&new_eps) -> decltype(*this)¶
-
inline const double &eps() const noexcept¶
-
inline double &eps() noexcept¶
-
inline auto weight_decay(const double &new_weight_decay) -> decltype(*this)¶
-
inline auto weight_decay(double &&new_weight_decay) -> decltype(*this)¶
-
inline const double &weight_decay() const noexcept¶
-
inline double &weight_decay() noexcept¶
-
inline auto momentum(const double &new_momentum) -> decltype(*this)¶
-
inline auto momentum(double &&new_momentum) -> decltype(*this)¶
-
inline const double &momentum() const noexcept¶
-
inline double &momentum() noexcept¶
-
inline auto centered(const bool &new_centered) -> decltype(*this)¶
-
inline auto centered(bool &&new_centered) -> decltype(*this)¶
-
inline const bool ¢ered() const noexcept¶
-
inline bool ¢ered() noexcept¶
-
virtual void serialize(torch::serialize::InputArchive &archive) override¶
-
virtual void serialize(torch::serialize::OutputArchive &archive) const override¶
-
virtual double get_lr() const override¶
-
virtual void set_lr(const double lr) override¶
Friends
-
friend bool operator==(const RMSpropOptions &lhs, const RMSpropOptions &rhs)¶
-
RMSpropOptions(double lr = 1e-2)¶