SetInputHeightVisitor updates the input height parameter with the given input height.
More...
|
template<typename T > |
std::enable_if< !HasInputHeight< T, size_t &(T::*)()>::value &&!HasModelCheck< T, std::vector< LayerTypes > &(T::*)()>::value, bool >::type | LayerInputHeight (T *layer) const |
| Do nothing 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, bool >::type | LayerInputHeight (T *layer) const |
| Update the input 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, bool >::type | LayerInputHeight (T *layer) const |
| Update the input 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, bool >::type | LayerInputHeight (T *layer) const |
| Update the input height if the module implements the InputHeight() or Model() function. More...
|
|
SetInputHeightVisitor updates the input height parameter with the given input height.
Definition at line 28 of file set_input_height_visitor.hpp.
mlpack::ann::SetInputHeightVisitor::SetInputHeightVisitor |
( |
const size_t |
inputHeight = 0 , |
|
|
const bool |
reset = false |
|
) |
| |
Update the input height parameter with the given input height.
template<typename T >
std::enable_if< !HasInputHeight<T, size_t&(T::*)()>::value && !HasModelCheck<T, std::vector<LayerTypes>&(T::*)()>::value, bool>::type mlpack::ann::SetInputHeightVisitor::LayerInputHeight |
( |
T * |
layer | ) |
const |
|
private |
Do nothing 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, bool>::type mlpack::ann::SetInputHeightVisitor::LayerInputHeight |
( |
T * |
layer | ) |
const |
|
private |
Update the input 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, bool>::type mlpack::ann::SetInputHeightVisitor::LayerInputHeight |
( |
T * |
layer | ) |
const |
|
private |
Update the input 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, bool>::type mlpack::ann::SetInputHeightVisitor::LayerInputHeight |
( |
T * |
layer | ) |
const |
|
private |
Update the input height if the module implements the InputHeight() or Model() function.
template<typename LayerType >
bool mlpack::ann::SetInputHeightVisitor::operator() |
( |
LayerType * |
layer | ) |
const |
Update the input height parameter.
size_t mlpack::ann::SetInputHeightVisitor::inputHeight |
|
private |
bool mlpack::ann::SetInputHeightVisitor::reset |
|
private |
The documentation for this class was generated from the following file: