mlpack
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...

#include <layer_traits.hpp>

Static Public Attributes

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

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.


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