WeightSetVisitor Class Reference

WeightSetVisitor update the module parameters given the parameters set. More...

Inheritance diagram for WeightSetVisitor:

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
 

Detailed Description

WeightSetVisitor update the module parameters given the parameters set.

Definition at line 26 of file weight_set_visitor.hpp.

Constructor & Destructor Documentation

◆ WeightSetVisitor()

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

Update the 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: