public class MultiLayerUpdater extends Object implements Updater
Modifier and Type | Class and Description |
---|---|
protected static class |
MultiLayerUpdater.MultiLayerUpdaterAggregator |
Constructor and Description |
---|
MultiLayerUpdater(MultiLayerNetwork network) |
MultiLayerUpdater(MultiLayerUpdater updater) |
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 batchSize)
Updater: updates the model
|
public MultiLayerUpdater(MultiLayerNetwork network)
public MultiLayerUpdater(MultiLayerUpdater updater)
public void update(Layer layer, Gradient gradient, int iteration, int batchSize)
Updater
public UpdaterAggregator getAggregator(boolean addThis)
Updater
getAggregator
in interface Updater
addThis
- whether to add the Updater to the UpdaterAggregator, or just return an empy aggregatorCopyright © 2016. All Rights Reserved.