mlpack  3.0.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Static Public Attributes | List of all members
CheckDecomposableGradient< FunctionType > Struct Template Reference

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

Static Public Attributes

static const bool value
 

Detailed Description

template<typename FunctionType>
struct mlpack::optimization::traits::CheckDecomposableGradient< FunctionType >

Check if a suitable decomposable overload of Gradient() is available.

This is required by the DecomposableFunctionType API.

Definition at line 101 of file static_checks.hpp.

Member Data Documentation

const bool value
static
Initial value:
=
HasGradient<FunctionType, DecomposableGradientForm>::value ||
HasGradient<FunctionType, DecomposableGradientConstForm>::value ||
HasGradient<FunctionType, DecomposableGradientStaticForm>::value

Definition at line 103 of file static_checks.hpp.


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