public interface GradientUpdater extends Serializable
| 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)
|
void update(Object... args)
args - INDArray getGradient(INDArray gradient, int iteration)
gradient - the gradient to modifyiteration - GradientUpdaterAggregator getAggregator(boolean addThis)
addThis - If true: return a GradientUpdaterAggregator with the GradientUpdater already added.
If false: return an empty (uninitialized) GradientUpdaterAggregatorCopyright © 2016. All Rights Reserved.