public interface IUpdater extends Serializable, Cloneable
GradientUpdater| Modifier and Type | Method and Description |
|---|---|
void |
applySchedules(int iteration,
double newLearningRate)
Apply the new learning rate and any other schedules
|
IUpdater |
clone()
Clone the updater
|
boolean |
equals(Object updater) |
GradientUpdater |
instantiate(INDArray viewArray,
boolean initializeViewArray)
Create a new gradient updater
|
long |
stateSize(long numParams)
Determine the updater state size for the given number of parameters.
|
long stateSize(long numParams)
numParams - Number of parametersvoid applySchedules(int iteration,
double newLearningRate)
iteration - Current iteration countnewLearningRate - new learning rate to set for the updaterGradientUpdater instantiate(INDArray viewArray, boolean initializeViewArray)
viewArray - The updater state size view awayinitializeViewArray - If true: initialise the updater stateIUpdater clone()
Copyright © 2017. All rights reserved.