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