public class DefaultStepFunction extends Object implements StepFunction
| Constructor and Description |
|---|
DefaultStepFunction() |
| Modifier and Type | Method and Description |
|---|---|
void |
step() |
void |
step(org.nd4j.linalg.api.ndarray.INDArray x,
org.nd4j.linalg.api.ndarray.INDArray line)
Step with no parameters
|
void |
step(org.nd4j.linalg.api.ndarray.INDArray parameters,
org.nd4j.linalg.api.ndarray.INDArray searchDirection,
double step)
Does x = x + stepSize * line
|
public void step(org.nd4j.linalg.api.ndarray.INDArray parameters,
org.nd4j.linalg.api.ndarray.INDArray searchDirection,
double step)
step in interface StepFunctionstep - step size.parameters - the current parameterssearchDirection - the line to steppublic void step(org.nd4j.linalg.api.ndarray.INDArray x,
org.nd4j.linalg.api.ndarray.INDArray line)
StepFunctionstep in interface StepFunctionpublic void step()
step in interface StepFunctionCopyright © 2016. All Rights Reserved.