mlpack  master
Static Public Attributes | List of all members
mlpack::ann::LayerTraits< LayerType > Class Template Reference

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

Static Public Attributes

static const bool IsBiasLayer = false
 This is true if the layer is a bias layer. More...
 
static const bool IsBinary = false
 This is true if the layer is a binary layer. More...
 
static const bool IsConnection = false
 
static const bool IsLSTMLayer = false
 
static const bool IsOutputLayer = false
 This is true if the layer is an output layer. More...
 

Detailed Description

template<typename LayerType>
class mlpack::ann::LayerTraits< LayerType >

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

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

Definition at line 29 of file layer_traits.hpp.

Member Data Documentation

template<typename LayerType >
const bool mlpack::ann::LayerTraits< LayerType >::IsBiasLayer = false
static

This is true if the layer is a bias layer.

Definition at line 45 of file layer_traits.hpp.

template<typename LayerType >
const bool mlpack::ann::LayerTraits< LayerType >::IsBinary = false
static

This is true if the layer is a binary layer.

Definition at line 35 of file layer_traits.hpp.

template<typename LayerType >
const bool mlpack::ann::LayerTraits< LayerType >::IsConnection = false
static

Definition at line 55 of file layer_traits.hpp.

template<typename LayerType >
const bool mlpack::ann::LayerTraits< LayerType >::IsLSTMLayer = false
static

Definition at line 50 of file layer_traits.hpp.

template<typename LayerType >
const bool mlpack::ann::LayerTraits< LayerType >::IsOutputLayer = false
static

This is true if the layer is an output layer.

Definition at line 40 of file layer_traits.hpp.


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