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 inInvalidStepExceptionCopyright © 2020. All rights reserved.