mlpack
master
|
BackwardVisitor executes the Backward() function given the input, error and delta parameter. More...
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... | |
BackwardVisitor executes the Backward() function given the input, error and delta parameter.
Definition at line 28 of file backward_visitor.hpp.
mlpack::ann::BackwardVisitor::BackwardVisitor | ( | arma::mat && | input, |
arma::mat && | error, | ||
arma::mat && | delta | ||
) |
Execute the Backward() function given the input, error and delta parameter.
void mlpack::ann::BackwardVisitor::operator() | ( | LayerType * | layer | ) | const |
Execute the Backward() function.
|
private |
The delta parameter.
Definition at line 47 of file backward_visitor.hpp.
|
private |
The error parameter.
Definition at line 44 of file backward_visitor.hpp.
|
private |
The input parameter set.
Definition at line 41 of file backward_visitor.hpp.