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

SetInputWidthVisitor updates the input width parameter with the given input width. More...

#include <set_input_width_visitor.hpp>

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

Public Member Functions

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

Detailed Description

SetInputWidthVisitor updates the input width parameter with the given input width.

Constructor & Destructor Documentation

◆ SetInputWidthVisitor()

mlpack::ann::SetInputWidthVisitor::SetInputWidthVisitor ( const size_t  inputWidth = 0,
const bool  reset = false 
)
inline

Update the input width parameter with the given input width.

SetInputWidthVisitor visitor class.


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