LsrDecay Class

Definition

This class implements linear scaling rule and LR decay. Implementation adopted from RESNET-CIFAR benchmark test in Tensorflow slim. https://github.com/tensorflow/models/blob/b974c3f95a37acedcc3c58566834c78fcae4b214/official/vision/image_classification/resnet_cifar_main.py

C#
public sealed class LsrDecay : Microsoft.ML.Trainers.LearningRateScheduler
Inheritance

Constructors

LsrDecay(IReadOnlyList<LsrDecay.LearningRateSchedulerItem>, Single)

Linear Scale rule and LR Decay construtor assigns a user defined LR scheduler.

LsrDecay(Single)

Linear Scale rule and LR Decay construtor assigns a default LR scheduler.

Fields

BaseLearningRate

Base Learning rate to start off with.

Applies to

Product Versions
ML.NET 1.4.0, 1.5.0, 1.6.0, 1.7.0, 2.0.0, 3.0.0, 4.0.0, Preview