Share via


ExponentialLRDecay(Single, Single, Single, Boolean) Constructor

Definition

This contructor initializes intial learning rate, number epochs per decay, decay rate and the staircase option. The defaults are taken from Tensorflow Slim.

public ExponentialLRDecay (float learningRate = 0.01, float numEpochsPerDecay = 2, float decayRate = 0.94, bool staircase = true);
new Microsoft.ML.Trainers.ExponentialLRDecay : single * single * single * bool -> Microsoft.ML.Trainers.ExponentialLRDecay
Public Sub New (Optional learningRate As Single = 0.01, Optional numEpochsPerDecay As Single = 2, Optional decayRate As Single = 0.94, Optional staircase As Boolean = true)

Parameters

learningRate
Single
numEpochsPerDecay
Single
decayRate
Single
staircase
Boolean

Applies to