BackwardVisitor Class Reference

BackwardVisitor executes the Backward() function given the input, error and delta parameter. More...

Inheritance diagram for BackwardVisitor:

Public Member Functions

 BackwardVisitor (const arma::mat &input, const arma::mat &error, arma::mat &delta)
 Execute the Backward() function given the input, error and delta parameter. More...

 
 BackwardVisitor (const arma::mat &input, const arma::mat &error, arma::mat &delta, const size_t index)
 Execute the Backward() function for the layer with the specified index. More...

 
template
<
typename
LayerType
>
void operator() (LayerType *layer) const
 Execute the Backward() function. More...

 
void operator() (MoreTypes layer) const
 

Detailed Description

BackwardVisitor executes the Backward() function given the input, error and delta parameter.

Definition at line 28 of file backward_visitor.hpp.

Constructor & Destructor Documentation

◆ BackwardVisitor() [1/2]

BackwardVisitor ( const arma::mat &  input,
const arma::mat &  error,
arma::mat &  delta 
)

Execute the Backward() function given the input, error and delta parameter.

◆ BackwardVisitor() [2/2]

BackwardVisitor ( const arma::mat &  input,
const arma::mat &  error,
arma::mat &  delta,
const size_t  index 
)

Execute the Backward() function for the layer with the specified index.

Member Function Documentation

◆ operator()() [1/2]

void operator() ( LayerType *  layer) const

Execute the Backward() function.

◆ operator()() [2/2]

void operator() ( MoreTypes  layer) const

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