13 #ifndef MLPACK_METHODS_ANN_LAYER_LAYER_TRAITS_HPP 14 #define MLPACK_METHODS_ANN_LAYER_LAYER_TRAITS_HPP 28 template<
typename LayerType>
static const bool IsBinary
This is true if the layer is a binary layer.
static const bool IsBiasLayer
This is true if the layer is a bias layer.
Implementation of the Add module class.
static const bool IsOutputLayer
This is true if the layer is an output layer.
This is a template class that can provide information about various layers.
HAS_MEM_FUNC(Gradient, HasGradientCheck)
HAS_ANY_METHOD_FORM(Model, HasModelCheck)
static const bool IsLSTMLayer
static const bool IsConnection