Class DefaultStepFunction
- java.lang.Object
-
- org.deeplearning4j.optimize.stepfunctions.DefaultStepFunction
-
- All Implemented Interfaces:
Serializable,StepFunction
public class DefaultStepFunction extends Object implements StepFunction
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DefaultStepFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidstep()voidstep(INDArray x, INDArray line)Step with no parametersvoidstep(INDArray parameters, INDArray searchDirection, double step)Does x = x + stepSize * line
-
-
-
Method Detail
-
step
public void step(INDArray parameters, INDArray searchDirection, double step)
Does x = x + stepSize * line- Specified by:
stepin interfaceStepFunction- Parameters:
step- step size.parameters- the current parameterssearchDirection- the line to step
-
step
public void step(INDArray x, INDArray line)
Description copied from interface:StepFunctionStep with no parameters- Specified by:
stepin interfaceStepFunction
-
step
public void step()
- Specified by:
stepin interfaceStepFunction
-
-