BiasSetVisitor Class Reference

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

Inheritance diagram for BiasSetVisitor:

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. More...

 
size_t operator() (MoreTypes layer) const
 

Detailed Description

BiasSetVisitor updates the module bias parameters given the parameters set.

Definition at line 26 of file bias_set_visitor.hpp.

Constructor & Destructor Documentation

◆ BiasSetVisitor()

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

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

Member Function Documentation

◆ operator()() [1/2]

size_t operator() ( LayerType *  layer) const

Update the parameters' set.

◆ operator()() [2/2]

size_t operator() ( MoreTypes  layer) const

The documentation for this class was generated from the following file:
  • /home/jenkins-mlpack/mlpack.org/_src/mlpack-3.2.1/src/mlpack/methods/ann/visitor/bias_set_visitor.hpp