BiasSetVisitor updates the module bias parameters given the parameters set. More...
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 |
BiasSetVisitor updates the module bias parameters given the parameters set.
Definition at line 26 of file bias_set_visitor.hpp.
BiasSetVisitor | ( | arma::mat & | weight, |
const size_t | offset = 0 |
||
) |
Update the bias parameters given the parameters' set and offset.
size_t operator() | ( | LayerType * | layer | ) | const |
Update the parameters' set.
size_t operator() | ( | MoreTypes | layer | ) | const |