mlpack  master
Public Member Functions | Private Member Functions | List of all members
mlpack::ann::ResetVisitor Class Reference

ResetVisitor executes the Reset() function. More...

Inheritance diagram for mlpack::ann::ResetVisitor:
Inheritance graph
[legend]

Public Member Functions

template<typename LayerType >
void operator() (LayerType *layer) const
 Execute the Reset() function. More...
 

Private Member Functions

template<typename T >
std::enable_if< HasResetCheck< T, void(T::*)()>::value &&!HasModelCheck< T, std::vector< LayerTypes > &(T::*)()>::value, void >::type ResetParameter (T *layer) const
 Execute the Reset() function for a module which implements the Reset() function. More...
 
template<typename T >
std::enable_if< !HasResetCheck< T, void(T::*)()>::value &&HasModelCheck< T, std::vector< LayerTypes > &(T::*)()>::value, void >::type ResetParameter (T *layer) const
 Execute the Reset() function for a module which implements the Model() function. More...
 
template<typename T >
std::enable_if< HasResetCheck< T, void(T::*)()>::value &&HasModelCheck< T, std::vector< LayerTypes > &(T::*)()>::value, void >::type ResetParameter (T *layer) const
 Execute the Reset() function for a module which implements the Reset() and Model() function. More...
 
template<typename T >
std::enable_if< !HasResetCheck< T, void(T::*)()>::value &&!HasModelCheck< T, std::vector< LayerTypes > &(T::*)()>::value, void >::type ResetParameter (T *layer) const
 Do not execute the Reset() function for a module which doesn't implement. More...
 

Detailed Description

ResetVisitor executes the Reset() function.

Definition at line 27 of file reset_visitor.hpp.

Member Function Documentation

template<typename LayerType >
void mlpack::ann::ResetVisitor::operator() ( LayerType *  layer) const

Execute the Reset() function.

template<typename T >
std::enable_if< HasResetCheck<T, void(T::*)()>::value && !HasModelCheck<T, std::vector<LayerTypes>&(T::*)()>::value, void>::type mlpack::ann::ResetVisitor::ResetParameter ( T *  layer) const
private

Execute the Reset() function for a module which implements the Reset() function.

template<typename T >
std::enable_if< !HasResetCheck<T, void(T::*)()>::value && HasModelCheck<T, std::vector<LayerTypes>&(T::*)()>::value, void>::type mlpack::ann::ResetVisitor::ResetParameter ( T *  layer) const
private

Execute the Reset() function for a module which implements the Model() function.

template<typename T >
std::enable_if< HasResetCheck<T, void(T::*)()>::value && HasModelCheck<T, std::vector<LayerTypes>&(T::*)()>::value, void>::type mlpack::ann::ResetVisitor::ResetParameter ( T *  layer) const
private

Execute the Reset() function for a module which implements the Reset() and Model() function.

template<typename T >
std::enable_if< !HasResetCheck<T, void(T::*)()>::value && !HasModelCheck<T, std::vector<LayerTypes>&(T::*)()>::value, void>::type mlpack::ann::ResetVisitor::ResetParameter ( T *  layer) const
private

Do not execute the Reset() function for a module which doesn't implement.


The documentation for this class was generated from the following file: