mlpack
|
BiasSetVisitor updates the module bias parameters given the parameters set. More...
#include <bias_set_visitor.hpp>
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 |
BiasSetVisitor updates the module bias parameters given the parameters set.
|
inline |
Update the bias parameters given the parameters' set and offset.
BiasSetVisitor visitor class.