SaveOutputParameterVisitor saves the output parameter into the given parameter set.
More...
|
template<typename T > |
std::enable_if< !HasModelCheck< T, std::vector< LayerTypes > &(T::*)()>::value, void >::type | OutputParameter (T *layer) const |
| Save the output parameter for a module which doesn't implement the Model() function. More...
|
|
template<typename T > |
std::enable_if< HasModelCheck< T, std::vector< LayerTypes > &(T::*)()>::value, void >::type | OutputParameter (T *layer) const |
| Save the output parameter for a module which implements the Model() function. More...
|
|
SaveOutputParameterVisitor saves the output parameter into the given parameter set.
Definition at line 28 of file save_output_parameter_visitor.hpp.
mlpack::ann::SaveOutputParameterVisitor::SaveOutputParameterVisitor |
( |
std::vector< arma::mat > && |
parameter | ) |
|
Save the output parameter into the given parameter set.
template<typename LayerType >
void mlpack::ann::SaveOutputParameterVisitor::operator() |
( |
LayerType * |
layer | ) |
const |
Save the output parameter.
template<typename T >
std::enable_if< !HasModelCheck<T, std::vector<LayerTypes>&(T::*)()>::value, void>::type mlpack::ann::SaveOutputParameterVisitor::OutputParameter |
( |
T * |
layer | ) |
const |
|
private |
Save the output parameter for a module which doesn't implement the Model() function.
template<typename T >
std::enable_if< HasModelCheck<T, std::vector<LayerTypes>&(T::*)()>::value, void>::type mlpack::ann::SaveOutputParameterVisitor::OutputParameter |
( |
T * |
layer | ) |
const |
|
private |
Save the output parameter for a module which implements the Model() function.
std::vector<arma::mat>&& mlpack::ann::SaveOutputParameterVisitor::parameter |
|
private |
The documentation for this class was generated from the following file: