public interface LineOptimizer extends Serializable
Modifier and Type | Method and Description |
---|---|
double |
optimize(INDArray parameters,
INDArray gradient,
INDArray searchDirection,
LayerWorkspaceMgr workspaceMgr)
Line optimizer
|
double optimize(INDArray parameters, INDArray gradient, INDArray searchDirection, LayerWorkspaceMgr workspaceMgr) throws InvalidStepException
parameters
- the parameters to optimizegradient
- the gradientsearchDirection
- the point/direction to go inInvalidStepException
Copyright © 2018. All rights reserved.