\section{Backward\+Visitor Class Reference}
\label{classmlpack_1_1ann_1_1BackwardVisitor}\index{Backward\+Visitor@{Backward\+Visitor}}


\doxyref{Backward\+Visitor}{p.}{classmlpack_1_1ann_1_1BackwardVisitor} executes the Backward() function given the input, error and delta parameter.  




Inheritance diagram for Backward\+Visitor\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=152pt]{classmlpack_1_1ann_1_1BackwardVisitor__inherit__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\textbf{ Backward\+Visitor} (const arma\+::mat \&input, const arma\+::mat \&error, arma\+::mat \&delta)
\begin{DoxyCompactList}\small\item\em Execute the Backward() function given the input, error and delta parameter. \end{DoxyCompactList}\item 
\textbf{ Backward\+Visitor} (const arma\+::mat \&input, const arma\+::mat \&error, arma\+::mat \&delta, const size\+\_\+t index)
\begin{DoxyCompactList}\small\item\em Execute the Backward() function for the layer with the specified index. \end{DoxyCompactList}\item 
{\footnotesize template$<$typename Layer\+Type $>$ }\\void \textbf{ operator()} (Layer\+Type $\ast$layer) const
\begin{DoxyCompactList}\small\item\em Execute the Backward() function. \end{DoxyCompactList}\item 
void \textbf{ operator()} (\textbf{ More\+Types} layer) const
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\doxyref{Backward\+Visitor}{p.}{classmlpack_1_1ann_1_1BackwardVisitor} executes the Backward() function given the input, error and delta parameter. 

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



\subsection{Constructor \& Destructor Documentation}
\mbox{\label{classmlpack_1_1ann_1_1BackwardVisitor_a3437bf9480c07e1a8e76db400a27cec1}} 
\index{mlpack\+::ann\+::\+Backward\+Visitor@{mlpack\+::ann\+::\+Backward\+Visitor}!Backward\+Visitor@{Backward\+Visitor}}
\index{Backward\+Visitor@{Backward\+Visitor}!mlpack\+::ann\+::\+Backward\+Visitor@{mlpack\+::ann\+::\+Backward\+Visitor}}
\subsubsection{Backward\+Visitor()\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \textbf{ Backward\+Visitor} (\begin{DoxyParamCaption}\item[{const arma\+::mat \&}]{input,  }\item[{const arma\+::mat \&}]{error,  }\item[{arma\+::mat \&}]{delta }\end{DoxyParamCaption})}



Execute the Backward() function given the input, error and delta parameter. 

\mbox{\label{classmlpack_1_1ann_1_1BackwardVisitor_a7cd1b57a1bb7f09d728832d24e37eef3}} 
\index{mlpack\+::ann\+::\+Backward\+Visitor@{mlpack\+::ann\+::\+Backward\+Visitor}!Backward\+Visitor@{Backward\+Visitor}}
\index{Backward\+Visitor@{Backward\+Visitor}!mlpack\+::ann\+::\+Backward\+Visitor@{mlpack\+::ann\+::\+Backward\+Visitor}}
\subsubsection{Backward\+Visitor()\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \textbf{ Backward\+Visitor} (\begin{DoxyParamCaption}\item[{const arma\+::mat \&}]{input,  }\item[{const arma\+::mat \&}]{error,  }\item[{arma\+::mat \&}]{delta,  }\item[{const size\+\_\+t}]{index }\end{DoxyParamCaption})}



Execute the Backward() function for the layer with the specified index. 



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



Execute the Backward() function. 

\mbox{\label{classmlpack_1_1ann_1_1BackwardVisitor_ae35578e7ff874a320fe762bc0edfff04}} 
\index{mlpack\+::ann\+::\+Backward\+Visitor@{mlpack\+::ann\+::\+Backward\+Visitor}!operator()@{operator()}}
\index{operator()@{operator()}!mlpack\+::ann\+::\+Backward\+Visitor@{mlpack\+::ann\+::\+Backward\+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{ backward\+\_\+visitor.\+hpp}\end{DoxyCompactItemize}
