mlpack
|
WeightSizeVisitor returns the number of weights of the given module. More...
#include <weight_size_visitor.hpp>
Public Member Functions | |
template<typename LayerType > | |
size_t | operator() (LayerType *layer) const |
Return the number of weights. More... | |
size_t | operator() (MoreTypes layer) const |
WeightSizeVisitor returns the number of weights of the given module.
|
inline |
Return the number of weights.
WeightSizeVisitor visitor class.