mlpack
git-master
|
AddDecomposableEvaluateWithGradientStatic< FunctionType, HasDecomposableEvaluateGradient, HasDecomposableEvaluateWithGradient > Class Template Reference
The AddDecomposableEvaluateWithGradientStatic mixin class will add a decomposable static EvaluateWithGradient() method if both a decomposable static Evaluate() and a decomposable static gradient() function exist, or nothing otherwise. More...
Inheritance diagram for AddDecomposableEvaluateWithGradientStatic< FunctionType, HasDecomposableEvaluateGradient, HasDecomposableEvaluateWithGradient >:

Static Public Member Functions | |
static double | EvaluateWithGradient (traits::UnconstructableType &, const size_t, const size_t) |
Detailed Description
template<typename FunctionType, bool HasDecomposableEvaluateGradient = traits::HasEvaluate<FunctionType, traits::DecomposableEvaluateStaticForm>::value && traits::HasGradient<FunctionType, traits::DecomposableGradientStaticForm>::value, bool HasDecomposableEvaluateWithGradient = traits::HasEvaluateWithGradient<FunctionType, traits::DecomposableEvaluateWithGradientStaticForm>::value>
class mlpack::optimization::AddDecomposableEvaluateWithGradientStatic< FunctionType, HasDecomposableEvaluateGradient, HasDecomposableEvaluateWithGradient >
The AddDecomposableEvaluateWithGradientStatic mixin class will add a decomposable static EvaluateWithGradient() method if both a decomposable static Evaluate() and a decomposable static gradient() function exist, or nothing otherwise.
Definition at line 199 of file add_decomposable_evaluate_with_gradient.hpp.
Member Function Documentation
◆ EvaluateWithGradient()
|
static |
The documentation for this class was generated from the following file:
- src/mlpack/core/optimizers/function/add_decomposable_evaluate_with_gradient.hpp
Generated by
