mlpack  git-master
CheckEvaluateWithGradient< FunctionType > Struct Template Reference

Check if a suitable overload of EvaluateWithGradient() is available. More...

Static Public Attributes

static const bool value
 

Detailed Description


template
<
typename
FunctionType
>

struct mlpack::optimization::traits::CheckEvaluateWithGradient< FunctionType >

Check if a suitable overload of EvaluateWithGradient() is available.

This is required by the FunctionType API.

Definition at line 200 of file static_checks.hpp.

Member Data Documentation

◆ value

const bool value
static
Initial value:
=
HasEvaluateWithGradient<FunctionType, EvaluateWithGradientForm>::value ||
HasEvaluateWithGradient<FunctionType,
HasEvaluateWithGradient<FunctionType,

Definition at line 202 of file static_checks.hpp.


The documentation for this struct was generated from the following file: