Logo ROOT  
Reference Guide
TMVA::DNN::Layer Class Reference

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 675 of file NeuralNet.h.

Public Member Functions

 Layer (size_t numNodes, EnumFunction activationFunction, ModeOutputValues eModeOutputValues=ModeOutputValues::DIRECT)
 c'tor for defining a Layer 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>

Constructor & Destructor Documentation

◆ Layer()

TMVA::DNN::Layer::Layer ( size_t  numNodes,
EnumFunction  activationFunction,
ModeOutputValues  eModeOutputValues = ModeOutputValues::DIRECT 
)

c'tor for defining a Layer

Parameters
itInputBeginindicates the start of the input node vector
itInputEndindicates the end of the input node vector

Definition at line 166 of file NeuralNet.cxx.

Friends And Related Function Documentation

◆ Net

friend class Net
friend

Definition at line 711 of file NeuralNet.h.

Member Data Documentation

◆ m_activationFunction

std::shared_ptr<std::function<double(double)> > TMVA::DNN::Layer::m_activationFunction
private

stores the activation function

Definition at line 702 of file NeuralNet.h.

◆ m_activationFunctionType

EnumFunction TMVA::DNN::Layer::m_activationFunctionType
private

Definition at line 709 of file NeuralNet.h.

◆ m_eModeOutputValues

ModeOutputValues TMVA::DNN::Layer::m_eModeOutputValues
private

do the output values of this layer have to be transformed somehow (e.g. to probabilities) or returned as such

Definition at line 708 of file NeuralNet.h.

◆ m_inverseActivationFunction

std::shared_ptr<std::function<double(double)> > TMVA::DNN::Layer::m_inverseActivationFunction
private

stores the inverse activation function

Definition at line 703 of file NeuralNet.h.

◆ m_numNodes

size_t TMVA::DNN::Layer::m_numNodes
private

Definition at line 706 of file NeuralNet.h.

Libraries for TMVA::DNN::Layer:
[legend]

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