mlpack
Public Member Functions | List of all members
mlpack::ann::BackwardVisitor Class Reference

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

#include <backward_visitor.hpp>

Inheritance diagram for mlpack::ann::BackwardVisitor:
Inheritance graph
[legend]
Collaboration diagram for mlpack::ann::BackwardVisitor:
Collaboration graph
[legend]

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.
 
template<typename LayerType >
void operator() (LayerType *layer) const
 Execute the Backward() function.
 
void operator() (MoreTypes layer) const
 

Detailed Description

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

Constructor & Destructor Documentation

◆ BackwardVisitor()

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

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

BackwardVisitor visitor class.


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