public class ConjugateGradient extends BaseOptimizer
accumulator, computationGraphUpdater, conf, GRADIENT_KEY, lineMaximizer, log, model, oldScore, PARAMS_KEY, score, SCORE_KEY, SEARCH_DIR, searchState, step, stepFunction, stepMax, trainingListeners, updater
Constructor and Description |
---|
ConjugateGradient(NeuralNetConfiguration conf,
StepFunction stepFunction,
Collection<TrainingListener> trainingListeners,
Model model) |
Modifier and Type | Method and Description |
---|---|
void |
postStep(INDArray gradient)
Post step to update searchDirection with new gradient and parameter information
|
void |
preProcessLine()
Pre preProcess to setup initial searchDirection approximation
|
applyConstraints, batchSize, getComputationGraphUpdater, getComputationGraphUpdater, getConf, getDefaultStepFunctionForOptimizer, getEpochCount, getGradientsAccumulator, getIterationCount, getUpdater, getUpdater, gradientAndScore, incrementIterationCount, optimize, postFirstStep, score, setBatchSize, setGradientsAccumulator, setListeners, setUpdater, setUpdaterComputationGraph, setupSearchState, updateGradientAccordingToParams
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getStepFunction
public ConjugateGradient(NeuralNetConfiguration conf, StepFunction stepFunction, Collection<TrainingListener> trainingListeners, Model model)
public void preProcessLine()
BaseOptimizer
preProcessLine
in interface ConvexOptimizer
preProcessLine
in class BaseOptimizer
public void postStep(INDArray gradient)
BaseOptimizer
postStep
in interface ConvexOptimizer
postStep
in class BaseOptimizer
Copyright © 2021. All rights reserved.