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

OutputWidthVisitor exposes the OutputHeight() method of the given module. More...

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

Public Member Functions

template<typename LayerType >
size_t operator() (LayerType *layer) const
 Return the output height. More...
 

Private Member Functions

template<typename T >
std::enable_if< !HasInputHeight< T, size_t &(T::*)()>::value &&!HasModelCheck< T, std::vector< LayerTypes > &(T::*)()>::value, size_t >::type LayerOutputHeight (T *layer) const
 Return 0 if the module doesn't implement the InputHeight() or Model() function. More...
 
template<typename T >
std::enable_if< HasInputHeight< T, size_t &(T::*)()>::value &&!HasModelCheck< T, std::vector< LayerTypes > &(T::*)()>::value, size_t >::type LayerOutputHeight (T *layer) const
 Return the output height if the module implements the InputHeight() function. More...
 
template<typename T >
std::enable_if< !HasInputHeight< T, size_t &(T::*)()>::value &&HasModelCheck< T, std::vector< LayerTypes > &(T::*)()>::value, size_t >::type LayerOutputHeight (T *layer) const
 Return the output height if the module implements the Model() function. More...
 
template<typename T >
std::enable_if< HasInputHeight< T, size_t &(T::*)()>::value &&HasModelCheck< T, std::vector< LayerTypes > &(T::*)()>::value, size_t >::type LayerOutputHeight (T *layer) const
 Return the output height if the module implement the Model() or InputHeight() function. More...
 

Detailed Description

OutputWidthVisitor exposes the OutputHeight() method of the given module.

Definition at line 28 of file output_height_visitor.hpp.

Member Function Documentation

template<typename T >
std::enable_if< !HasInputHeight<T, size_t&(T::*)()>::value && !HasModelCheck<T, std::vector<LayerTypes>&(T::*)()>::value, size_t>::type mlpack::ann::OutputHeightVisitor::LayerOutputHeight ( T *  layer) const
private

Return 0 if the module doesn't implement the InputHeight() or Model() function.

template<typename T >
std::enable_if< HasInputHeight<T, size_t&(T::*)()>::value && !HasModelCheck<T, std::vector<LayerTypes>&(T::*)()>::value, size_t>::type mlpack::ann::OutputHeightVisitor::LayerOutputHeight ( T *  layer) const
private

Return the output height if the module implements the InputHeight() function.

template<typename T >
std::enable_if< !HasInputHeight<T, size_t&(T::*)()>::value && HasModelCheck<T, std::vector<LayerTypes>&(T::*)()>::value, size_t>::type mlpack::ann::OutputHeightVisitor::LayerOutputHeight ( T *  layer) const
private

Return the output height if the module implements the Model() function.

template<typename T >
std::enable_if< HasInputHeight<T, size_t&(T::*)()>::value && HasModelCheck<T, std::vector<LayerTypes>&(T::*)()>::value, size_t>::type mlpack::ann::OutputHeightVisitor::LayerOutputHeight ( T *  layer) const
private

Return the output height if the module implement the Model() or InputHeight() function.

template<typename LayerType >
size_t mlpack::ann::OutputHeightVisitor::operator() ( LayerType *  layer) const

Return the output height.


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