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

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

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

Public Member Functions

 BackwardVisitor (arma::mat &&input, arma::mat &&error, arma::mat &&delta)
 Execute the Backward() function given the input, error and delta parameter. More...
 
template<typename LayerType >
void operator() (LayerType *layer) const
 Execute the Backward() function. More...
 

Private Attributes

arma::mat && delta
 The delta parameter. More...
 
arma::mat && error
 The error parameter. More...
 
arma::mat && input
 The input parameter set. More...
 

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

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

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

Member Function Documentation

template<typename LayerType >
void mlpack::ann::BackwardVisitor::operator() ( LayerType *  layer) const

Execute the Backward() function.

Member Data Documentation

arma::mat&& mlpack::ann::BackwardVisitor::delta
private

The delta parameter.

Definition at line 47 of file backward_visitor.hpp.

arma::mat&& mlpack::ann::BackwardVisitor::error
private

The error parameter.

Definition at line 44 of file backward_visitor.hpp.

arma::mat&& mlpack::ann::BackwardVisitor::input
private

The input parameter set.

Definition at line 41 of file backward_visitor.hpp.


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