mlpack  git-master
CheckPartialGradient< FunctionType > Struct Template Reference

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

Static Public Attributes

static const bool value
 

Detailed Description


template
<
typename
FunctionType
>

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

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

This is required by the ResolvableFunctionType API.

Definition at line 186 of file static_checks.hpp.

Member Data Documentation

◆ value

const bool value
static
Initial value:
=
HasPartialGradient<FunctionType, PartialGradientForm>::value ||
HasPartialGradient<FunctionType, PartialGradientConstForm>::value ||
HasPartialGradient<FunctionType, PartialGradientStaticForm>::value

Definition at line 188 of file static_checks.hpp.


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