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

BiasSetVisitor updates the module bias parameters given the parameters set. More...

#include <bias_set_visitor.hpp>

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

Public Member Functions

 BiasSetVisitor (arma::mat &weight, const size_t offset=0)
 Update the bias 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

BiasSetVisitor updates the module bias parameters given the parameters set.

Constructor & Destructor Documentation

◆ BiasSetVisitor()

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

Update the bias parameters given the parameters' set and offset.

BiasSetVisitor visitor class.


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