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 void
step()
void
step(INDArray x, INDArray line)
Step with no parametersvoid
step(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:
step
in 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:StepFunction
Step with no parameters- Specified by:
step
in interfaceStepFunction
-
step
public void step()
- Specified by:
step
in interfaceStepFunction
-
-