mlpack  git-master
CheckNumFeatures< FunctionType > Struct Template Reference

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

Static Public Attributes

static const bool value
 

Detailed Description


template
<
typename
FunctionType
>

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

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

This is required by the ResolvableFunctionType API.

Definition at line 172 of file static_checks.hpp.

Member Data Documentation

◆ value

const bool value
static
Initial value:
=
HasNumFeatures<FunctionType, NumFeaturesForm>::value ||
HasNumFeatures<FunctionType, NumFeaturesConstForm>::value ||
HasNumFeatures<FunctionType, NumFeaturesStaticForm>::value

Definition at line 174 of file static_checks.hpp.


The documentation for this struct was generated from the following file:
  • /var/www/www.mlpack.org/mlpack-git/src/mlpack/core/optimizers/function/static_checks.hpp