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

WeightSetVisitor update the module parameters given the parameters set. More...

#include <weight_set_visitor.hpp>

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

Public Member Functions

 WeightSetVisitor (arma::mat &weight, const size_t offset=0)
 Update the parameters given the parameters set and offset. More...
 
template<typename LayerType >
size_t operator() (LayerType *layer) const
 Update the parameters set.
 
size_t operator() (MoreTypes layer) const
 

Detailed Description

WeightSetVisitor update the module parameters given the parameters set.

Constructor & Destructor Documentation

◆ WeightSetVisitor()

mlpack::ann::WeightSetVisitor::WeightSetVisitor ( arma::mat &  weight,
const size_t  offset = 0 
)
inline

Update the parameters given the parameters set and offset.

WeightSetVisitor visitor class.


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