13 #ifndef MLPACK_METHODS_ANN_VISITOR_SET_INPUT_HEIGHT_VISITOR_HPP 14 #define MLPACK_METHODS_ANN_VISITOR_SET_INPUT_HEIGHT_VISITOR_HPP 18 #include <boost/variant.hpp> 34 template<
typename LayerType>
49 typename std::enable_if<
50 !HasInputHeight<T, size_t&(T::*)()>::value &&
51 !HasModelCheck<T>::value,
bool>::type
52 LayerInputHeight(T* layer)
const;
57 typename std::enable_if<
58 HasInputHeight<T, size_t&(T::*)()>::value &&
59 !HasModelCheck<T>::value,
bool>::type
60 LayerInputHeight(T* layer)
const;
64 typename std::enable_if<
65 !HasInputHeight<T, size_t&(T::*)()>::value &&
66 HasModelCheck<T>::value,
bool>::type
67 LayerInputHeight(T* layer)
const;
72 typename std::enable_if<
73 HasInputHeight<T, size_t&(T::*)()>::value &&
74 HasModelCheck<T>::value,
bool>::type
75 LayerInputHeight(T* layer)
const;
Linear algebra utility functions, generally performed on matrices or vectors.
Definition: cv.hpp:1