Shortcuts

Class LRScheduler

Inheritance Relationships

Derived Type

Class Documentation

class LRScheduler

Subclassed by torch::optim::StepLR

Public Functions

LRScheduler(torch::optim::Optimizer &optimizer)
virtual ~LRScheduler() = default
void step()

Protected Functions

virtual std::vector<double> get_lrs() = 0
std::vector<double> get_current_lrs() const

Protected Attributes

unsigned step_count_ = {}

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