\section{Set\+Input\+Width\+Visitor Class Reference}
\label{classmlpack_1_1ann_1_1SetInputWidthVisitor}\index{Set\+Input\+Width\+Visitor@{Set\+Input\+Width\+Visitor}}


\doxyref{Set\+Input\+Width\+Visitor}{p.}{classmlpack_1_1ann_1_1SetInputWidthVisitor} updates the input width parameter with the given input width.  




Inheritance diagram for Set\+Input\+Width\+Visitor\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=152pt]{classmlpack_1_1ann_1_1SetInputWidthVisitor__inherit__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\textbf{ Set\+Input\+Width\+Visitor} (const size\+\_\+t input\+Width=0, const bool reset=false)
\begin{DoxyCompactList}\small\item\em Update the input width parameter with the given input width. \end{DoxyCompactList}\item 
{\footnotesize template$<$typename Layer\+Type $>$ }\\bool \textbf{ operator()} (Layer\+Type $\ast$layer) const
\begin{DoxyCompactList}\small\item\em Update the input width parameter. \end{DoxyCompactList}\item 
bool \textbf{ operator()} (\textbf{ More\+Types} layer) const
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\doxyref{Set\+Input\+Width\+Visitor}{p.}{classmlpack_1_1ann_1_1SetInputWidthVisitor} updates the input width parameter with the given input width. 

Definition at line 27 of file set\+\_\+input\+\_\+width\+\_\+visitor.\+hpp.



\subsection{Constructor \& Destructor Documentation}
\mbox{\label{classmlpack_1_1ann_1_1SetInputWidthVisitor_a7118737f9b0fea38032c7bb1cb42d023}} 
\index{mlpack\+::ann\+::\+Set\+Input\+Width\+Visitor@{mlpack\+::ann\+::\+Set\+Input\+Width\+Visitor}!Set\+Input\+Width\+Visitor@{Set\+Input\+Width\+Visitor}}
\index{Set\+Input\+Width\+Visitor@{Set\+Input\+Width\+Visitor}!mlpack\+::ann\+::\+Set\+Input\+Width\+Visitor@{mlpack\+::ann\+::\+Set\+Input\+Width\+Visitor}}
\subsubsection{Set\+Input\+Width\+Visitor()}
{\footnotesize\ttfamily \textbf{ Set\+Input\+Width\+Visitor} (\begin{DoxyParamCaption}\item[{const size\+\_\+t}]{input\+Width = {\ttfamily 0},  }\item[{const bool}]{reset = {\ttfamily false} }\end{DoxyParamCaption})}



Update the input width parameter with the given input width. 



\subsection{Member Function Documentation}
\mbox{\label{classmlpack_1_1ann_1_1SetInputWidthVisitor_ad358e269435d5a1b10367bec96793a17}} 
\index{mlpack\+::ann\+::\+Set\+Input\+Width\+Visitor@{mlpack\+::ann\+::\+Set\+Input\+Width\+Visitor}!operator()@{operator()}}
\index{operator()@{operator()}!mlpack\+::ann\+::\+Set\+Input\+Width\+Visitor@{mlpack\+::ann\+::\+Set\+Input\+Width\+Visitor}}
\subsubsection{operator()()\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily bool operator() (\begin{DoxyParamCaption}\item[{Layer\+Type $\ast$}]{layer }\end{DoxyParamCaption}) const}



Update the input width parameter. 

\mbox{\label{classmlpack_1_1ann_1_1SetInputWidthVisitor_a2c712555c12177f4733c7b2f070ff22c}} 
\index{mlpack\+::ann\+::\+Set\+Input\+Width\+Visitor@{mlpack\+::ann\+::\+Set\+Input\+Width\+Visitor}!operator()@{operator()}}
\index{operator()@{operator()}!mlpack\+::ann\+::\+Set\+Input\+Width\+Visitor@{mlpack\+::ann\+::\+Set\+Input\+Width\+Visitor}}
\subsubsection{operator()()\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily bool operator() (\begin{DoxyParamCaption}\item[{\textbf{ More\+Types}}]{layer }\end{DoxyParamCaption}) const}



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
/var/www/mlpack.\+ratml.\+org/mlpack.\+org/\+\_\+src/mlpack-\/3.\+3.\+2/src/mlpack/methods/ann/visitor/\textbf{ set\+\_\+input\+\_\+width\+\_\+visitor.\+hpp}\end{DoxyCompactItemize}
