public static final class PolynomialDecayTracker.Builder
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
PolynomialDecayTracker |
build()
Builds a PolynomialDecayTracker.
|
PolynomialDecayTracker.Builder |
optPower(float power)
Sets the power of the polynomial to decay by.
|
PolynomialDecayTracker.Builder |
setBaseValue(float baseValue)
Sets the initial value after no steps.
|
PolynomialDecayTracker.Builder |
setDecaySteps(int decaySteps)
Sets the number of training steps to decay learning rate in.
|
PolynomialDecayTracker.Builder |
setEndLearningRate(float endLearningRate)
Sets the learning rate at which to end rate decay.
|
public PolynomialDecayTracker.Builder setBaseValue(float baseValue)
baseValue - the initial valueBuilderpublic PolynomialDecayTracker.Builder setEndLearningRate(float endLearningRate)
endLearningRate - the learning rate at which to end rate decay.public PolynomialDecayTracker.Builder setDecaySteps(int decaySteps)
decaySteps - the number of training steps to decay learning rate inpublic PolynomialDecayTracker.Builder optPower(float power)
power - the power of the polynomial to decay by.public PolynomialDecayTracker build()