mlpack  3.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
BackwardVisitor Class Reference

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

Inheritance diagram for 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...
 
 BackwardVisitor (arma::mat &&input, 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...
 

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 ( arma::mat &&  input,
arma::mat &&  error,
arma::mat &&  delta 
)

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

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

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

Member Function Documentation

void operator() ( LayerType *  layer) const

Execute the Backward() function.


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