Package org.deeplearning4j.optimize.api
Interface LineOptimizer
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
BackTrackLineSearch
public interface LineOptimizer extends Serializable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
optimize(INDArray parameters, INDArray gradient, INDArray searchDirection, LayerWorkspaceMgr workspaceMgr)
Line optimizer
-
-
-
Method Detail
-
optimize
double optimize(INDArray parameters, INDArray gradient, INDArray searchDirection, LayerWorkspaceMgr workspaceMgr) throws InvalidStepException
Line optimizer- Parameters:
parameters
- the parameters to optimizegradient
- the gradientsearchDirection
- the point/direction to go in- Returns:
- the last step size used
- Throws:
InvalidStepException
-
-