mlpack  3.0.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
SetInputWidthVisitor Class Reference

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

Inheritance diagram for SetInputWidthVisitor:
Inheritance 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. More...
 

Detailed Description

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

Definition at line 27 of file set_input_width_visitor.hpp.

Constructor & Destructor Documentation

SetInputWidthVisitor ( const size_t  inputWidth = 0,
const bool  reset = false 
)

Update the input width parameter with the given input width.

Member Function Documentation

bool operator() ( LayerType *  layer) const

Update the input width parameter.


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