Class DecayLearningRate
- Namespace
- NeuralNetworks.LearningRates
- Assembly
- NeuralNetworks.dll
public abstract class DecayLearningRate : LearningRate
- Inheritance
-
DecayLearningRate
- Derived
-
- Inherited Members
-
Constructors
DecayLearningRate(float, int)
protected DecayLearningRate(float initialLearningRate, int warmupSteps = 0)
Parameters
initialLearningRate float
warmupSteps int
Properties
CurrentLearningRate
protected float CurrentLearningRate { get; set; }
Property Value
- float
InitialLearningRate
protected float InitialLearningRate { get; }
Property Value
- float
WarmupSteps
public int WarmupSteps { get; init; }
Property Value
- int
Methods
ApplyWarmup(int)
protected void ApplyWarmup(int steps)
Parameters
steps int
GetLearningRate()
public override float GetLearningRate()
Returns
- float