InitTraits< InitRuleType > Class Template Reference

This is a template class that can provide information about various initialization methods. More...

Static Public Attributes

static const bool UseLayer = true
 This is true if the initialization method is used for a single layer. More...

 

Detailed Description


template
<
typename
InitRuleType
>

class mlpack::ann::InitTraits< InitRuleType >

This is a template class that can provide information about various initialization methods.

By default, this class will provide the weakest possible assumptions on the initialization method, and each initialization method should override values as necessary. If a initialization method doesn't need to override a value, then there's no need to write a InitTraits specialization for that class.

Definition at line 28 of file init_rules_traits.hpp.

Member Data Documentation

◆ UseLayer

const bool UseLayer = true
static

This is true if the initialization method is used for a single layer.

Definition at line 34 of file init_rules_traits.hpp.


The documentation for this class was generated from the following file:
  • /home/jenkins-mlpack/mlpack.org/_src/mlpack-git/src/mlpack/methods/ann/init_rules/init_rules_traits.hpp