mlpack
|
BackwardVisitor executes the Backward() function given the input, error and delta parameter. More...
#include <backward_visitor.hpp>
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. | |
template<typename LayerType > | |
void | operator() (LayerType *layer) const |
Execute the Backward() function. | |
void | operator() (MoreTypes layer) const |
BackwardVisitor executes the Backward() function given the input, error and delta parameter.
|
inline |
Execute the Backward() function given the input, error and delta parameter.
BackwardVisitor visitor class.