public interface Updater extends Serializable, Cloneable
Modifier and Type | Method and Description |
---|---|
Updater |
clone() |
UpdaterAggregator |
getAggregator(boolean addThis)
Given this updater, get an UpdaterAggregator that can be used to combine the current state (if any)
of this updater with the state of other updaters.
|
void |
update(Layer layer,
Gradient gradient,
int iteration,
int miniBatchSize)
Updater: updates the model
|
void update(Layer layer, Gradient gradient, int iteration, int miniBatchSize)
layer
- gradient
- iteration
- UpdaterAggregator getAggregator(boolean addThis)
addThis
- whether to add the Updater to the UpdaterAggregator, or just return an empy aggregatorUpdater clone()
Copyright © 2016. All Rights Reserved.