GradientVisitor Class Reference

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

Inheritance diagram for GradientVisitor:

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() [1/2]

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

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

◆ GradientVisitor() [2/2]

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

◆ operator()()

void operator() ( LayerType *  layer) const

Executes the Gradient() method.


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