public abstract class BaseUpdater extends Object implements Updater
Modifier and Type | Field and Description |
---|---|
protected Map<String,org.nd4j.linalg.learning.GradientUpdater> |
updaterForVariable |
Constructor and Description |
---|
BaseUpdater() |
Modifier and Type | Method and Description |
---|---|
abstract void |
init() |
abstract org.nd4j.linalg.learning.GradientUpdater |
init(String variable,
org.nd4j.linalg.api.ndarray.INDArray gradient,
Layer layer) |
void |
postApply(Layer layer,
org.nd4j.linalg.api.ndarray.INDArray gradient,
String param)
Apply the regularization
|
void |
update(Layer layer,
Gradient gradient,
int iteration)
Updater: updates the model
|
public void update(Layer layer, Gradient gradient, int iteration)
Updater
public void postApply(Layer layer, org.nd4j.linalg.api.ndarray.INDArray gradient, String param)
layer
- gradient
- param
- public abstract void init()
Copyright © 2015. All Rights Reserved.