public class NoOpUpdater extends Object implements GradientUpdater<NoOp>
| Constructor and Description |
|---|
NoOpUpdater(NoOp config) |
| Modifier and Type | Method and Description |
|---|---|
void |
applyUpdater(INDArray gradient,
int iteration,
int epoch)
Modify the gradient to be an update.
|
void |
setStateViewArray(INDArray viewArray,
int[] shape,
char order,
boolean initialize)
For the internal updater state (if any): set this to use the provided array.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetConfigpublic NoOpUpdater(NoOp config)
public void setStateViewArray(INDArray viewArray, int[] shape, char order, boolean initialize)
GradientUpdatersetStateViewArray in interface GradientUpdater<NoOp>viewArray - Array (that is a view of a larger array) to use for the state.initialize - If true: the updater must initialize the view array. If false: no change to view array contentspublic void applyUpdater(INDArray gradient, int iteration, int epoch)
GradientUpdaterapplyUpdater in interface GradientUpdater<NoOp>gradient - the gradient to modifyCopyright © 2018. All rights reserved.