public class RmsProp extends Object implements GradientUpdater
| Modifier and Type | Class and Description |
|---|---|
static class |
RmsProp.RmsPropAggregator |
| Constructor and Description |
|---|
RmsProp(double learningRate,
double rmsDecay) |
| Modifier and Type | Method and Description |
|---|---|
GradientUpdaterAggregator |
getAggregator(boolean addThis)
Get a GradientUpdaterAggregator.
|
INDArray |
getGradient(INDArray gradient,
int iteration)
Modify the gradient
to be an update
|
void |
update(Object... args)
update(learningRate,momentum)
|
public void update(Object... args)
GradientUpdaterupdate in interface GradientUpdaterpublic INDArray getGradient(INDArray gradient, int iteration)
GradientUpdatergetGradient in interface GradientUpdatergradient - the gradient to modifypublic 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.