OutputWidthVisitor exposes the OutputWidth() method of the given module.
More...
|
template<typename LayerType > |
size_t | operator() (LayerType *layer) const |
| Return the output width. More...
|
|
|
template<typename T > |
std::enable_if< !HasInputWidth< T, size_t &(T::*)()>::value &&!HasModelCheck< T, std::vector< LayerTypes > &(T::*)()>::value, size_t >::type | LayerOutputWidth (T *layer) const |
| Return 0 if the module doesn't implement the InputWidth() or Model() function. More...
|
|
template<typename T > |
std::enable_if< HasInputWidth< T, size_t &(T::*)()>::value &&!HasModelCheck< T, std::vector< LayerTypes > &(T::*)()>::value, size_t >::type | LayerOutputWidth (T *layer) const |
| Return the output width if the module implements the InputWidth() function. More...
|
|
template<typename T > |
std::enable_if< !HasInputWidth< T, size_t &(T::*)()>::value &&HasModelCheck< T, std::vector< LayerTypes > &(T::*)()>::value, size_t >::type | LayerOutputWidth (T *layer) const |
| Return the output width if the module implements the Model() function. More...
|
|
template<typename T > |
std::enable_if< HasInputWidth< T, size_t &(T::*)()>::value &&HasModelCheck< T, std::vector< LayerTypes > &(T::*)()>::value, size_t >::type | LayerOutputWidth (T *layer) const |
| Return the output width if the module implements the Model() or InputWidth() function. More...
|
|
OutputWidthVisitor exposes the OutputWidth() method of the given module.
Definition at line 28 of file output_width_visitor.hpp.
template<typename T >
std::enable_if< !HasInputWidth<T, size_t&(T::*)()>::value && !HasModelCheck<T, std::vector<LayerTypes>&(T::*)()>::value, size_t>::type mlpack::ann::OutputWidthVisitor::LayerOutputWidth |
( |
T * |
layer | ) |
const |
|
private |
Return 0 if the module doesn't implement the InputWidth() or Model() function.
template<typename T >
std::enable_if< HasInputWidth<T, size_t&(T::*)()>::value && !HasModelCheck<T, std::vector<LayerTypes>&(T::*)()>::value, size_t>::type mlpack::ann::OutputWidthVisitor::LayerOutputWidth |
( |
T * |
layer | ) |
const |
|
private |
Return the output width if the module implements the InputWidth() function.
template<typename T >
std::enable_if< !HasInputWidth<T, size_t&(T::*)()>::value && HasModelCheck<T, std::vector<LayerTypes>&(T::*)()>::value, size_t>::type mlpack::ann::OutputWidthVisitor::LayerOutputWidth |
( |
T * |
layer | ) |
const |
|
private |
Return the output width if the module implements the Model() function.
template<typename T >
std::enable_if< HasInputWidth<T, size_t&(T::*)()>::value && HasModelCheck<T, std::vector<LayerTypes>&(T::*)()>::value, size_t>::type mlpack::ann::OutputWidthVisitor::LayerOutputWidth |
( |
T * |
layer | ) |
const |
|
private |
Return the output width if the module implements the Model() or InputWidth() function.
template<typename LayerType >
size_t mlpack::ann::OutputWidthVisitor::operator() |
( |
LayerType * |
layer | ) |
const |
The documentation for this class was generated from the following file: