ParametersSetVisitor update the parameters set using the given matrix.
More...
|
template<typename T , typename P > |
std::enable_if< !HasParametersCheck< T, P &(T::*)()>::value, void >::type | LayerParameters (T *layer, P &output) const |
| Do not update the parameters set if the module doesn't implement the Parameters() function. More...
|
|
template<typename T , typename P > |
std::enable_if< HasParametersCheck< T, P &(T::*)()>::value, void >::type | LayerParameters (T *layer, P &output) const |
| Update the parameters set if the module implements the Parameters() function. More...
|
|
ParametersSetVisitor update the parameters set using the given matrix.
Definition at line 27 of file parameters_set_visitor.hpp.
mlpack::ann::ParametersSetVisitor::ParametersSetVisitor |
( |
arma::mat && |
parameters | ) |
|
Update the parameters set given the parameters matrix.
template<typename T , typename P >
std::enable_if< !HasParametersCheck<T, P&(T::*)()>::value, void>::type mlpack::ann::ParametersSetVisitor::LayerParameters |
( |
T * |
layer, |
|
|
P & |
output |
|
) |
| const |
|
private |
Do not update the parameters set if the module doesn't implement the Parameters() function.
template<typename T , typename P >
std::enable_if< HasParametersCheck<T, P&(T::*)()>::value, void>::type mlpack::ann::ParametersSetVisitor::LayerParameters |
( |
T * |
layer, |
|
|
P & |
output |
|
) |
| const |
|
private |
Update the parameters set if the module implements the Parameters() function.
template<typename LayerType >
void mlpack::ann::ParametersSetVisitor::operator() |
( |
LayerType * |
layer | ) |
const |
Update the parameters set.
arma::mat&& mlpack::ann::ParametersSetVisitor::parameters |
|
private |
The documentation for this class was generated from the following file: