public class AdaDeltaUpdater extends Object implements GradientUpdater<AdaDelta>
Ada delta updater. More robust adagrad that keeps track of a moving window average of the gradient rather than the every decaying learning rates of adagrad
| Constructor and Description |
|---|
AdaDeltaUpdater(AdaDelta config) |
| Modifier and Type | Method and Description |
|---|---|
void |
applyUpdater(INDArray gradient,
int iteration,
int epoch)
Get the updated gradient for the given gradient
and also update the state of ada delta.
|
void |
setStateViewArray(INDArray viewArray,
int[] gradientShape,
char gradientOrder,
boolean initialize)
For the internal updater state (if any): set this to use the provided array.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConfigpublic AdaDeltaUpdater(AdaDelta config)
public void setStateViewArray(INDArray viewArray, int[] gradientShape, char gradientOrder, boolean initialize)
GradientUpdatersetStateViewArray in interface GradientUpdater<AdaDelta>viewArray - Array (that is a view of a larger array) to use for the state.initialize - If true: the updater must initialize the view array. If false: no change to view array contentspublic void applyUpdater(INDArray gradient, int iteration, int epoch)
applyUpdater in interface GradientUpdater<AdaDelta>gradient - the gradient to get the
updated gradient foriteration - Copyright © 2018. All rights reserved.