Class OptimizerOptions¶
Defined in File optimizer.h
Page Contents
Inheritance Relationships¶
Derived Types¶
public torch::optim::OptimizerCloneableOptions< LBFGSOptions >
(Template Class OptimizerCloneableOptions)public torch::optim::OptimizerCloneableOptions< AdamOptions >
(Template Class OptimizerCloneableOptions)public torch::optim::OptimizerCloneableOptions< RMSpropOptions >
(Template Class OptimizerCloneableOptions)public torch::optim::OptimizerCloneableOptions< AdamWOptions >
(Template Class OptimizerCloneableOptions)public torch::optim::OptimizerCloneableOptions< SGDOptions >
(Template Class OptimizerCloneableOptions)public torch::optim::OptimizerCloneableOptions< AdagradOptions >
(Template Class OptimizerCloneableOptions)public torch::optim::OptimizerCloneableOptions< Derived >
(Template Class OptimizerCloneableOptions)
Class Documentation¶
-
class OptimizerOptions¶
Subclassed by torch::optim::OptimizerCloneableOptions< LBFGSOptions >, torch::optim::OptimizerCloneableOptions< AdamOptions >, torch::optim::OptimizerCloneableOptions< RMSpropOptions >, torch::optim::OptimizerCloneableOptions< AdamWOptions >, torch::optim::OptimizerCloneableOptions< SGDOptions >, torch::optim::OptimizerCloneableOptions< AdagradOptions >, torch::optim::OptimizerCloneableOptions< Derived >
Public Functions
-
OptimizerOptions() = default¶
-
OptimizerOptions(const OptimizerOptions&) = default¶
-
OptimizerOptions &operator=(const OptimizerOptions&) = default¶
-
OptimizerOptions(OptimizerOptions&&) noexcept = default¶
-
OptimizerOptions &operator=(OptimizerOptions&&) noexcept = default¶
-
virtual std::unique_ptr<OptimizerOptions> clone() const¶
-
virtual void serialize(torch::serialize::InputArchive &archive)¶
-
virtual void serialize(torch::serialize::OutputArchive &archive) const¶
-
virtual ~OptimizerOptions() = default¶
-
virtual double get_lr() const¶
-
virtual void set_lr(const double lr)¶
-
OptimizerOptions() = default¶