mlpack
Public Member Functions | List of all members
mlpack::ann::SetInputHeightVisitor Class Reference

SetInputHeightVisitor updates the input height parameter with the given input height. More...

#include <set_input_height_visitor.hpp>

Inheritance diagram for mlpack::ann::SetInputHeightVisitor:
Inheritance graph
[legend]
Collaboration diagram for mlpack::ann::SetInputHeightVisitor:
Collaboration graph
[legend]

Public Member Functions

 SetInputHeightVisitor (const size_t inputHeight=0, const bool reset=false)
 Update the input height parameter with the given input height. More...
 
template<typename LayerType >
bool operator() (LayerType *layer) const
 Update the input height parameter.
 
bool operator() (MoreTypes layer) const
 

Detailed Description

SetInputHeightVisitor updates the input height parameter with the given input height.

Constructor & Destructor Documentation

◆ SetInputHeightVisitor()

mlpack::ann::SetInputHeightVisitor::SetInputHeightVisitor ( const size_t  inputHeight = 0,
const bool  reset = false 
)
inline

Update the input height parameter with the given input height.

SetInputHeightVisitor visitor class.


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