SearchModeVisitor executes the Gradient() method of the given module using the input and delta parameter. More...

Public Member Functions | |
| GradientVisitor (const arma::mat &input, const arma::mat &delta) | |
| Executes the Gradient() method of the given module using the input and delta parameter. More... | |
| GradientVisitor (const arma::mat &input, const arma::mat &delta, const size_t index) | |
| Executes the Gradient() method for the layer with the specified index. More... | |
template < typename LayerType > | |
| void | operator() (LayerType *layer) const |
| Executes the Gradient() method. More... | |
| void | operator() (MoreTypes layer) const |
SearchModeVisitor executes the Gradient() method of the given module using the input and delta parameter.
Definition at line 28 of file gradient_visitor.hpp.
| GradientVisitor | ( | const arma::mat & | input, |
| const arma::mat & | delta | ||
| ) |
Executes the Gradient() method of the given module using the input and delta parameter.
| GradientVisitor | ( | const arma::mat & | input, |
| const arma::mat & | delta, | ||
| const size_t | index | ||
| ) |
Executes the Gradient() method for the layer with the specified index.
| void operator() | ( | LayerType * | layer | ) | const |
Executes the Gradient() method.
| void operator() | ( | MoreTypes | layer | ) | const |