public class AdaDelta extends Object implements Serializable, GradientUpdater
| Modifier and Type | Class and Description |
|---|---|
static class |
AdaDelta.AdaDeltaAggregator |
| Constructor and Description |
|---|
AdaDelta(double rho) |
| Modifier and Type | Method and Description |
|---|---|
GradientUpdaterAggregator |
getAggregator(boolean addThis)
Get a GradientUpdaterAggregator.
|
INDArray |
getGradient(INDArray gradient,
int iteration)
Get the updated gradient for the given gradient
and also update the state of ada delta.
|
void |
update(Object... args)
update(learningRate,momentum)
|
public void update(Object... args)
GradientUpdaterupdate in interface GradientUpdaterpublic INDArray getGradient(INDArray gradient, int iteration)
getGradient in interface GradientUpdatergradient - the gradient to get the
updated gradient foriteration - public GradientUpdaterAggregator getAggregator(boolean addThis)
GradientUpdatergetAggregator in interface GradientUpdateraddThis - If true: return a GradientUpdaterAggregator with the GradientUpdater already added.
If false: return an empty (uninitialized) GradientUpdaterAggregatorCopyright © 2016. All Rights Reserved.