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


This visitor is to support copy constructor for neural network module.  




Inheritance diagram for Copy\+Visitor$<$ Custom\+Layers $>$\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=217pt]{classmlpack_1_1ann_1_1CopyVisitor__inherit__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\footnotesize template$<$typename Layer\+Type $>$ }\\\textbf{ Layer\+Types}$<$ Custom\+Layers... $>$ \textbf{ operator()} (Layer\+Type $\ast$) const
\item 
\textbf{ Layer\+Types}$<$ Custom\+Layers... $>$ \textbf{ operator()} (\textbf{ More\+Types}) const
\end{DoxyCompactItemize}


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

This visitor is to support copy constructor for neural network module. 

We want a layer-\/wise copy rather than simple duplicate the pointer. 

Definition at line 26 of file copy\+\_\+visitor.\+hpp.



\subsection{Member Function Documentation}
\mbox{\label{classmlpack_1_1ann_1_1CopyVisitor_a0328fbed2c4b8458119a706e16921639}} 
\index{mlpack\+::ann\+::\+Copy\+Visitor@{mlpack\+::ann\+::\+Copy\+Visitor}!operator()@{operator()}}
\index{operator()@{operator()}!mlpack\+::ann\+::\+Copy\+Visitor@{mlpack\+::ann\+::\+Copy\+Visitor}}
\subsubsection{operator()()\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \textbf{ Layer\+Types}$<$Custom\+Layers...$>$ operator() (\begin{DoxyParamCaption}\item[{Layer\+Type $\ast$}]{ }\end{DoxyParamCaption}) const}

\mbox{\label{classmlpack_1_1ann_1_1CopyVisitor_a8229a3baafceb83bbf28a6bfd8b62d93}} 
\index{mlpack\+::ann\+::\+Copy\+Visitor@{mlpack\+::ann\+::\+Copy\+Visitor}!operator()@{operator()}}
\index{operator()@{operator()}!mlpack\+::ann\+::\+Copy\+Visitor@{mlpack\+::ann\+::\+Copy\+Visitor}}
\subsubsection{operator()()\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \textbf{ Layer\+Types}$<$Custom\+Layers...$>$ operator() (\begin{DoxyParamCaption}\item[{\textbf{ More\+Types}}]{ }\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{ copy\+\_\+visitor.\+hpp}\end{DoxyCompactItemize}
