\section{Add\+Visitor$<$ Custom\+Layers $>$ Class Template Reference}
\label{classmlpack_1_1ann_1_1AddVisitor}\index{Add\+Visitor$<$ Custom\+Layers $>$@{Add\+Visitor$<$ Custom\+Layers $>$}}


\doxyref{Add\+Visitor}{p.}{classmlpack_1_1ann_1_1AddVisitor} exposes the Add() method of the given module.  




Inheritance diagram for Add\+Visitor$<$ Custom\+Layers $>$\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=187pt]{classmlpack_1_1ann_1_1AddVisitor__inherit__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\footnotesize template$<$typename T $>$ }\\\textbf{ Add\+Visitor} (T new\+Layer)
\begin{DoxyCompactList}\small\item\em Exposes the Add() method of the given module. \end{DoxyCompactList}\item 
{\footnotesize template$<$typename Layer\+Type $>$ }\\void \textbf{ operator()} (Layer\+Type $\ast$layer) const
\begin{DoxyCompactList}\small\item\em Exposes the Add() method. \end{DoxyCompactList}\item 
void \textbf{ operator()} (\textbf{ More\+Types} layer) const
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$typename... Custom\+Layers$>$\newline
class mlpack\+::ann\+::\+Add\+Visitor$<$ Custom\+Layers $>$}

\doxyref{Add\+Visitor}{p.}{classmlpack_1_1ann_1_1AddVisitor} exposes the Add() method of the given module. 

Definition at line 28 of file add\+\_\+visitor.\+hpp.



\subsection{Constructor \& Destructor Documentation}
\mbox{\label{classmlpack_1_1ann_1_1AddVisitor_aa21362514457024852c33802d57a1b37}} 
\index{mlpack\+::ann\+::\+Add\+Visitor@{mlpack\+::ann\+::\+Add\+Visitor}!Add\+Visitor@{Add\+Visitor}}
\index{Add\+Visitor@{Add\+Visitor}!mlpack\+::ann\+::\+Add\+Visitor@{mlpack\+::ann\+::\+Add\+Visitor}}
\subsubsection{Add\+Visitor()}
{\footnotesize\ttfamily \textbf{ Add\+Visitor} (\begin{DoxyParamCaption}\item[{T}]{new\+Layer }\end{DoxyParamCaption})}



Exposes the Add() method of the given module. 



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



Exposes the Add() method. 

\mbox{\label{classmlpack_1_1ann_1_1AddVisitor_ae35578e7ff874a320fe762bc0edfff04}} 
\index{mlpack\+::ann\+::\+Add\+Visitor@{mlpack\+::ann\+::\+Add\+Visitor}!operator()@{operator()}}
\index{operator()@{operator()}!mlpack\+::ann\+::\+Add\+Visitor@{mlpack\+::ann\+::\+Add\+Visitor}}
\subsubsection{operator()()\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void 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.\+1/src/mlpack/methods/ann/visitor/\textbf{ add\+\_\+visitor.\+hpp}\end{DoxyCompactItemize}
