Shortcuts

Class LRScheduler

Inheritance Relationships

Derived Type

Class Documentation

class torch::optim::LRScheduler

Subclassed by torch::optim::StepLR

Public Functions

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

Protected Functions

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