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... | |
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.
|
static |
This is true if the layer is a bias layer.
Definition at line 45 of file layer_traits.hpp.
|
static |
This is true if the layer is a binary layer.
Definition at line 35 of file layer_traits.hpp.
|
static |
Definition at line 55 of file layer_traits.hpp.
|
static |
Definition at line 50 of file layer_traits.hpp.
|
static |
This is true if the layer is an output layer.
Definition at line 40 of file layer_traits.hpp.