public class DefaultStepFunction extends Object implements StepFunction
Constructor and Description |
---|
DefaultStepFunction() |
Modifier and Type | Method and Description |
---|---|
void |
step() |
void |
step(INDArray x,
INDArray line)
Step with no parameters
|
void |
step(INDArray parameters,
INDArray searchDirection,
double step)
Does x = x + stepSize * line
|
public void step(INDArray parameters, INDArray searchDirection, double step)
step
in interface StepFunction
step
- step size.parameters
- the current parameterssearchDirection
- the line to steppublic void step(INDArray x, INDArray line)
StepFunction
step
in interface StepFunction
public void step()
step
in interface StepFunction
Copyright © 2018. All rights reserved.