mlpack
|
SearchModeVisitor executes the Gradient() method of the given module using the input and delta parameter. More...
#include <gradient_visitor.hpp>
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. | |
template<typename LayerType > | |
void | operator() (LayerType *layer) const |
Executes the Gradient() method. | |
void | operator() (MoreTypes layer) const |
SearchModeVisitor executes the Gradient() method of the given module using the input and delta parameter.
|
inline |
Executes the Gradient() method of the given module using the input and delta parameter.
GradientVisitor visitor class.