ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
lwtDev::BiasLayer Class Reference

#include <Stack.h>

Inheritance diagram for lwtDev::BiasLayer:
Collaboration diagram for lwtDev::BiasLayer:

Public Member Functions

 BiasLayer (const VectorXd &bias)
 
 BiasLayer (const std::vector< double > &bias)
 
virtual VectorXd compute (const VectorXd &) const override
 

Private Attributes

VectorXd m_bias
 

Detailed Description

Definition at line 106 of file Stack.h.

Constructor & Destructor Documentation

◆ BiasLayer() [1/2]

lwtDev::BiasLayer::BiasLayer ( const VectorXd &  bias)

Definition at line 196 of file Stack.cxx.

196  : m_bias(bias)
197  {
198  }

◆ BiasLayer() [2/2]

lwtDev::BiasLayer::BiasLayer ( const std::vector< double > &  bias)

Definition at line 199 of file Stack.cxx.

199  :
200  m_bias(build_vector(bias))
201  {
202  }

Member Function Documentation

◆ compute()

VectorXd lwtDev::BiasLayer::compute ( const VectorXd &  in) const
overridevirtual

Implements lwtDev::ILayer.

Definition at line 203 of file Stack.cxx.

203  {
204  return in + m_bias;
205  }

Member Data Documentation

◆ m_bias

VectorXd lwtDev::BiasLayer::m_bias
private

Definition at line 113 of file Stack.h.


The documentation for this class was generated from the following files:
lwtDev::BiasLayer::m_bias
VectorXd m_bias
Definition: Stack.h:113
lwtDev::build_vector
VectorXd build_vector(const std::vector< double > &bias)
Definition: Stack.cxx:760