mlpack  3.0.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
GradientVisitor Class Reference

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

Inheritance diagram for GradientVisitor:
Inheritance graph
[legend]

Public Member Functions

 GradientVisitor (arma::mat &&input, arma::mat &&delta)
 Executes the Gradient() method of the given module using the input and delta parameter. More...
 
template<typename LayerType >
void operator() (LayerType *layer) const
 Executes the Gradient() method. More...
 

Detailed Description

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

Definition at line 28 of file gradient_visitor.hpp.

Constructor & Destructor Documentation

GradientVisitor ( arma::mat &&  input,
arma::mat &&  delta 
)

Executes the Gradient() method of the given module using the input and delta parameter.

Member Function Documentation

void operator() ( LayerType *  layer) const

Executes the Gradient() method.


The documentation for this class was generated from the following file: