ROOT 6.18/05 Reference Guide |
Layer defines the layout of a layer.
Layer defines the layout of a specific layer in the DNN Objects of this class don't hold the layer data itself (see class "LayerData")
Definition at line 676 of file NeuralNet.h.
Public Member Functions | |
Layer (size_t numNodes, EnumFunction activationFunction, ModeOutputValues eModeOutputValues=ModeOutputValues::DIRECT) | |
c'tor for defining a Layer More... | |
std::shared_ptr< std::function< double(double)> > | activationFunction () const |
fetch the activation function for this layer More... | |
EnumFunction | activationFunctionType () const |
get the activation function type for this layer More... | |
std::shared_ptr< std::function< double(double)> > | inverseActivationFunction () const |
fetch the inverse activation function for this layer More... | |
ModeOutputValues | modeOutputValues () const |
get the mode-output-value (direct, probabilities) More... | |
void | modeOutputValues (ModeOutputValues eModeOutputValues) |
set the mode-output-value More... | |
size_t | numNodes () const |
return the number of nodes of this layer More... | |
size_t | numWeights (size_t numInputNodes) const |
return the number of weights for this layer (fully connected) More... | |
Private Attributes | |
std::shared_ptr< std::function< double(double)> > | m_activationFunction |
stores the activation function More... | |
EnumFunction | m_activationFunctionType |
ModeOutputValues | m_eModeOutputValues |
do the output values of this layer have to be transformed somehow (e.g. to probabilities) or returned as such More... | |
std::shared_ptr< std::function< double(double)> > | m_inverseActivationFunction |
stores the inverse activation function More... | |
size_t | m_numNodes |
Friends | |
class | Net |
#include <TMVA/NeuralNet.h>
TMVA::DNN::Layer::Layer | ( | size_t | numNodes, |
EnumFunction | activationFunction, | ||
ModeOutputValues | eModeOutputValues = ModeOutputValues::DIRECT |
||
) |
c'tor for defining a Layer
itInputBegin | indicates the start of the input node vector |
itInputEnd | indicates the end of the input node vector |
Definition at line 166 of file NeuralNet.cxx.
|
inline |
fetch the activation function for this layer
Definition at line 695 of file NeuralNet.h.
|
inline |
get the activation function type for this layer
Definition at line 698 of file NeuralNet.h.
|
inline |
fetch the inverse activation function for this layer
Definition at line 696 of file NeuralNet.h.
|
inline |
get the mode-output-value (direct, probabilities)
Definition at line 689 of file NeuralNet.h.
|
inline |
set the mode-output-value
Definition at line 690 of file NeuralNet.h.
|
inline |
return the number of nodes of this layer
Definition at line 692 of file NeuralNet.h.
|
inline |
return the number of weights for this layer (fully connected)
Definition at line 693 of file NeuralNet.h.
|
friend |
Definition at line 712 of file NeuralNet.h.
|
private |
stores the activation function
Definition at line 703 of file NeuralNet.h.
|
private |
Definition at line 710 of file NeuralNet.h.
|
private |
do the output values of this layer have to be transformed somehow (e.g. to probabilities) or returned as such
Definition at line 709 of file NeuralNet.h.
|
private |
stores the inverse activation function
Definition at line 704 of file NeuralNet.h.
|
private |
Definition at line 707 of file NeuralNet.h.