NeuralEngine
A Game Engine with embeded Machine Learning algorithms based on Gaussian Processes.
FgStrongWolfeBracketingLineSearch.h
1
11#pragma once
12
13#include <MachineLearning/FgILineSearch.h>
14
15namespace NeuralEngine
16{
17 namespace MachineLearning
18 {
27 template<typename Scalar>
28 class NE_IMPEXP StrongWolfeBracketingLineSearch : public ILineSearch<Scalar>
29 {
30 public:
31
44 void Linesearch(NonlinearObjectiveFunction<Scalar>& objFunc, Scalar& fx, af::array& x, af::array& grad, Scalar& step, const af::array& drt, const af::array& xp) override;
45
52 };
53 }
54}
55
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.