Shortcuts

Class ReduceLROnPlateauScheduler

Page Contents

Class Documentation

class ReduceLROnPlateauScheduler

Public Types

enum SchedulerMode

Values:

enumerator min
enumerator max
enum ThresholdMode

Values:

enumerator rel
enumerator abs

Public Functions

ReduceLROnPlateauScheduler(Optimizer &optimizer, SchedulerMode mode = min, float factor = 0.1, int patience = 10, double threshold = 1e-4, ThresholdMode threshold_mode = rel, int cooldown = 0, const std::vector<float> &min_lr = std::vector<float>(), double eps = 1e-8, bool verbose = false)
virtual ~ReduceLROnPlateauScheduler() = default
void step(float metric)

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