13#include <MachineLearning/IOptimizationMethod.h>
14#include <MachineLearning/FgILineSearch.h>
19 namespace MachineLearning
33 template<
typename Scalar>
Common interface for function optimization methods which depend on having both an objective function ...
virtual void SetGradient(af::array g)=0
Sets a function returning the gradient vector of the function to be optimized for a given value of it...
virtual af::array GetGradient()=0
Gets a function returning the gradient vector of the function to be optimized for a given value of it...
Common interface for function optimization methods.