NeuralEngine
A Game Engine with embeded Machine Learning algorithms based on Gaussian Processes.
FgStrongWolfeBacktrackingLineSearch.h
1
11#pragma once
12
13#include <MachineLearning/FgILineSearch.h>
14
15namespace NeuralEngine
16{
17 namespace MachineLearning
18 {
22 template<typename Scalar>
23 class NE_IMPEXP StrongWolfeBacktrackingLineSearch : public ILineSearch<Scalar>
24 {
25 public:
26
39 void Linesearch(NonlinearObjectiveFunction<Scalar>& objFunc, Scalar& fx, af::array& x, af::array& grad, Scalar& step, const af::array& drt, const af::array& xp) override;
40
47 };
48 }
49}
50
void Linesearch(NonlinearObjectiveFunction< Scalar > &objFunc, Scalar &fx, af::array &x, af::array &grad, Scalar &step, const af::array &drt, const af::array &xp) override
Linesearches.