Shortcuts

Class OptimizerOptions

Inheritance Relationships

Derived Types

Class Documentation

class torch::optim::OptimizerOptions

Subclassed by torch::optim::OptimizerCloneableOptions< AdagradOptions >, torch::optim::OptimizerCloneableOptions< AdamOptions >, torch::optim::OptimizerCloneableOptions< AdamWOptions >, torch::optim::OptimizerCloneableOptions< LBFGSOptions >, torch::optim::OptimizerCloneableOptions< RMSpropOptions >, torch::optim::OptimizerCloneableOptions< SGDOptions >, torch::optim::OptimizerCloneableOptions< Derived >

Public Functions

std::unique_ptr<OptimizerOptions> clone() const
void serialize(torch::serialize::InputArchive &archive)
void serialize(torch::serialize::OutputArchive &archive) const
~OptimizerOptions() = default
double get_lr() const
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