Shortcuts

Class OptimizerOptions

Inheritance Relationships

Derived Types

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)

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