BackwardVisitor executes the Backward() function given the input, error and delta parameter. More...
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. 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 | ( | const arma::mat & | input, |
const arma::mat & | error, | ||
arma::mat & | delta | ||
) |
Execute the Backward() function given the input, error and delta parameter.
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.
void operator() | ( | LayerType * | layer | ) | const |
Execute the Backward() function.
void operator() | ( | MoreTypes | layer | ) | const |