mlpack  3.1.0
 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...
 
 GradientVisitor (arma::mat &&input, 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...
 

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.

GradientVisitor ( arma::mat &&  input,
arma::mat &&  delta,
const size_t  index 
)

Executes the Gradient() method for the layer with the specified index.

Member Function Documentation

void operator() ( LayerType *  layer) const

Executes the Gradient() method.


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