mlpack
Public Member Functions | List of all members
mlpack::ann::ParametersVisitor Class Reference

ParametersVisitor exposes the parameters set of the given module and stores the parameters set into the given matrix. More...

#include <parameters_visitor.hpp>

Inheritance diagram for mlpack::ann::ParametersVisitor:
Inheritance graph
[legend]
Collaboration diagram for mlpack::ann::ParametersVisitor:
Collaboration graph
[legend]

Public Member Functions

 ParametersVisitor (arma::mat &parameters)
 Store the parameters set into the given parameters matrix. More...
 
template<typename LayerType >
void operator() (LayerType *layer) const
 Set the parameters set.
 
void operator() (MoreTypes layer) const
 

Detailed Description

ParametersVisitor exposes the parameters set of the given module and stores the parameters set into the given matrix.

Constructor & Destructor Documentation

◆ ParametersVisitor()

mlpack::ann::ParametersVisitor::ParametersVisitor ( arma::mat &  parameters)
inline

Store the parameters set into the given parameters matrix.

ParametersVisitor visitor class.


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