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... | |
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... | |
void | operator() (MoreTypes layer) const |
BackwardVisitor executes the Backward() function given the input, error and delta parameter.
Definition at line 28 of file backward_visitor.hpp.
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.
void operator() | ( | LayerType * | layer | ) | const |
Execute the Backward() function.
void operator() | ( | MoreTypes | layer | ) | const |