NeuralEngine
A Game Engine with embeded Machine Learning algorithms based on Gaussian Processes.
FgArmijoBracketingLineSearch.h
1
11#pragma once
12
13#include <MachineLearning/FgILineSearch.h>
14
15namespace NeuralEngine
16{
17 namespace MachineLearning
18 {
44 template<typename Scalar>
45 class NE_IMPEXP ArmijoBracketingLineSearch : public ILineSearch<Scalar>
46 {
47 public:
48
61 void Linesearch(NonlinearObjectiveFunction<Scalar>& objFunc, Scalar& fx, af::array& x, af::array& grad, Scalar& step, const af::array& drt, const af::array& xp) override;
62
69 };
70 }
71}
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.