public interface Updater extends Serializable
Modifier and Type | Method and Description |
---|---|
org.nd4j.linalg.api.ndarray.INDArray |
getStateViewArray() |
void |
setStateViewArray(Layer layer,
org.nd4j.linalg.api.ndarray.INDArray viewArray,
boolean initialize)
Set the internal (historical) state view array for this updater
|
void |
update(Layer layer,
Gradient gradient,
int iteration,
int miniBatchSize)
Updater: updates the model
|
void setStateViewArray(Layer layer, org.nd4j.linalg.api.ndarray.INDArray viewArray, boolean initialize)
layer
- Layer that this updater belongs toviewArray
- View arrayinitialize
- Whether to initialize the array or notorg.nd4j.linalg.api.ndarray.INDArray getStateViewArray()
Copyright © 2017. All rights reserved.