NeuralEngine
A Game Engine with embeded Machine Learning algorithms based on Gaussian Processes.
FgArmijoLineSearch.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 ArmijoLineSearch : public ILineSearch<Scalar>
46 {
47 public:
48
55
68 void Linesearch(NonlinearObjectiveFunction<Scalar>& objFunc, Scalar& fx, af::array& x, af::array& grad, Scalar& step, const af::array& drt, const af::array& xp) override;
69
76 };
77 }
78}
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.