\section{Naive\+Convolution$<$ Border\+Mode $>$ Class Template Reference}
\label{classmlpack_1_1ann_1_1NaiveConvolution}\index{Naive\+Convolution$<$ Border\+Mode $>$@{Naive\+Convolution$<$ Border\+Mode $>$}}


Computes the two-\/dimensional convolution.  


\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\footnotesize template$<$typename eT , typename Border  = Border\+Mode$>$ }\\static std\+::enable\+\_\+if$<$ std\+::is\+\_\+same$<$ Border, \textbf{ Valid\+Convolution} $>$\+::value, void $>$\+::type \textbf{ Convolution} (const arma\+::\+Mat$<$ eT $>$ \&input, const arma\+::\+Mat$<$ eT $>$ \&filter, arma\+::\+Mat$<$ eT $>$ \&output, const size\+\_\+t dW=1, const size\+\_\+t dH=1, const size\+\_\+t dilationW=1, const size\+\_\+t dilationH=1)
\item 
{\footnotesize template$<$typename eT , typename Border  = Border\+Mode$>$ }\\static std\+::enable\+\_\+if$<$ std\+::is\+\_\+same$<$ Border, \textbf{ Full\+Convolution} $>$\+::value, void $>$\+::type \textbf{ Convolution} (const arma\+::\+Mat$<$ eT $>$ \&input, const arma\+::\+Mat$<$ eT $>$ \&filter, arma\+::\+Mat$<$ eT $>$ \&output, const size\+\_\+t dW=1, const size\+\_\+t dH=1, const size\+\_\+t dilationW=1, const size\+\_\+t dilationH=1)
\item 
{\footnotesize template$<$typename eT $>$ }\\static void \textbf{ Convolution} (const arma\+::\+Cube$<$ eT $>$ \&input, const arma\+::\+Cube$<$ eT $>$ \&filter, arma\+::\+Cube$<$ eT $>$ \&output, const size\+\_\+t dW=1, const size\+\_\+t dH=1, const size\+\_\+t dilationW=1, const size\+\_\+t dilationH=1)
\item 
{\footnotesize template$<$typename eT $>$ }\\static void \textbf{ Convolution} (const arma\+::\+Mat$<$ eT $>$ \&input, const arma\+::\+Cube$<$ eT $>$ \&filter, arma\+::\+Cube$<$ eT $>$ \&output, const size\+\_\+t dW=1, const size\+\_\+t dH=1, const size\+\_\+t dilationW=1, const size\+\_\+t dilationH=1)
\item 
{\footnotesize template$<$typename eT $>$ }\\static void \textbf{ Convolution} (const arma\+::\+Cube$<$ eT $>$ \&input, const arma\+::\+Mat$<$ eT $>$ \&filter, arma\+::\+Cube$<$ eT $>$ \&output, const size\+\_\+t dW=1, const size\+\_\+t dH=1, const size\+\_\+t dilationW=1, const size\+\_\+t dilationH=1)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$typename Border\+Mode = Full\+Convolution$>$\newline
class mlpack\+::ann\+::\+Naive\+Convolution$<$ Border\+Mode $>$}

Computes the two-\/dimensional convolution. 

This class allows specification of the type of the border type. The convolution can be compute with the valid border type of the full border type (default).

\doxyref{Full\+Convolution}{p.}{classmlpack_1_1ann_1_1FullConvolution}\+: returns the full two-\/dimensional convolution. \doxyref{Valid\+Convolution}{p.}{classmlpack_1_1ann_1_1ValidConvolution}\+: returns only those parts of the convolution that are computed without the zero-\/padded edges.


\begin{DoxyTemplParams}{Template Parameters}
{\em Border\+Mode} & Type of the border mode (\doxyref{Full\+Convolution}{p.}{classmlpack_1_1ann_1_1FullConvolution} or \doxyref{Valid\+Convolution}{p.}{classmlpack_1_1ann_1_1ValidConvolution}). \\
\hline
\end{DoxyTemplParams}


Definition at line 35 of file naive\+\_\+convolution.\+hpp.



\subsection{Member Function Documentation}
\mbox{\label{classmlpack_1_1ann_1_1NaiveConvolution_adde8ddb6df77ab42370e7c28c26af974}} 
\index{mlpack\+::ann\+::\+Naive\+Convolution@{mlpack\+::ann\+::\+Naive\+Convolution}!Convolution@{Convolution}}
\index{Convolution@{Convolution}!mlpack\+::ann\+::\+Naive\+Convolution@{mlpack\+::ann\+::\+Naive\+Convolution}}
\subsubsection{Convolution()\hspace{0.1cm}{\footnotesize\ttfamily [1/5]}}
{\footnotesize\ttfamily static std\+::enable\+\_\+if$<$ std\+::is\+\_\+same$<$Border, \textbf{ Valid\+Convolution}$>$\+::value, void$>$\+::type \textbf{ Convolution} (\begin{DoxyParamCaption}\item[{const arma\+::\+Mat$<$ eT $>$ \&}]{input,  }\item[{const arma\+::\+Mat$<$ eT $>$ \&}]{filter,  }\item[{arma\+::\+Mat$<$ eT $>$ \&}]{output,  }\item[{const size\+\_\+t}]{dW = {\ttfamily 1},  }\item[{const size\+\_\+t}]{dH = {\ttfamily 1},  }\item[{const size\+\_\+t}]{dilationW = {\ttfamily 1},  }\item[{const size\+\_\+t}]{dilationH = {\ttfamily 1} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Definition at line 52 of file naive\+\_\+convolution.\+hpp.



Referenced by S\+V\+D\+Convolution$<$ Border\+Mode $>$\+::\+Convolution(), and Naive\+Convolution$<$ Border\+Mode $>$\+::\+Convolution().

\mbox{\label{classmlpack_1_1ann_1_1NaiveConvolution_a1ba06465fccd6afa80f4d6cfe9a9dec3}} 
\index{mlpack\+::ann\+::\+Naive\+Convolution@{mlpack\+::ann\+::\+Naive\+Convolution}!Convolution@{Convolution}}
\index{Convolution@{Convolution}!mlpack\+::ann\+::\+Naive\+Convolution@{mlpack\+::ann\+::\+Naive\+Convolution}}
\subsubsection{Convolution()\hspace{0.1cm}{\footnotesize\ttfamily [2/5]}}
{\footnotesize\ttfamily static std\+::enable\+\_\+if$<$ std\+::is\+\_\+same$<$Border, \textbf{ Full\+Convolution}$>$\+::value, void$>$\+::type \textbf{ Convolution} (\begin{DoxyParamCaption}\item[{const arma\+::\+Mat$<$ eT $>$ \&}]{input,  }\item[{const arma\+::\+Mat$<$ eT $>$ \&}]{filter,  }\item[{arma\+::\+Mat$<$ eT $>$ \&}]{output,  }\item[{const size\+\_\+t}]{dW = {\ttfamily 1},  }\item[{const size\+\_\+t}]{dH = {\ttfamily 1},  }\item[{const size\+\_\+t}]{dilationW = {\ttfamily 1},  }\item[{const size\+\_\+t}]{dilationH = {\ttfamily 1} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Definition at line 98 of file naive\+\_\+convolution.\+hpp.



References Naive\+Convolution$<$ Border\+Mode $>$\+::\+Convolution().

\mbox{\label{classmlpack_1_1ann_1_1NaiveConvolution_ae2b55592952b28666d36015a4e42f9d6}} 
\index{mlpack\+::ann\+::\+Naive\+Convolution@{mlpack\+::ann\+::\+Naive\+Convolution}!Convolution@{Convolution}}
\index{Convolution@{Convolution}!mlpack\+::ann\+::\+Naive\+Convolution@{mlpack\+::ann\+::\+Naive\+Convolution}}
\subsubsection{Convolution()\hspace{0.1cm}{\footnotesize\ttfamily [3/5]}}
{\footnotesize\ttfamily static void \textbf{ Convolution} (\begin{DoxyParamCaption}\item[{const arma\+::\+Cube$<$ eT $>$ \&}]{input,  }\item[{const arma\+::\+Cube$<$ eT $>$ \&}]{filter,  }\item[{arma\+::\+Cube$<$ eT $>$ \&}]{output,  }\item[{const size\+\_\+t}]{dW = {\ttfamily 1},  }\item[{const size\+\_\+t}]{dH = {\ttfamily 1},  }\item[{const size\+\_\+t}]{dilationW = {\ttfamily 1},  }\item[{const size\+\_\+t}]{dilationH = {\ttfamily 1} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Definition at line 151 of file naive\+\_\+convolution.\+hpp.



References Naive\+Convolution$<$ Border\+Mode $>$\+::\+Convolution().

\mbox{\label{classmlpack_1_1ann_1_1NaiveConvolution_ac2914aeee931814235a0e237aad5e6d1}} 
\index{mlpack\+::ann\+::\+Naive\+Convolution@{mlpack\+::ann\+::\+Naive\+Convolution}!Convolution@{Convolution}}
\index{Convolution@{Convolution}!mlpack\+::ann\+::\+Naive\+Convolution@{mlpack\+::ann\+::\+Naive\+Convolution}}
\subsubsection{Convolution()\hspace{0.1cm}{\footnotesize\ttfamily [4/5]}}
{\footnotesize\ttfamily static void \textbf{ Convolution} (\begin{DoxyParamCaption}\item[{const arma\+::\+Mat$<$ eT $>$ \&}]{input,  }\item[{const arma\+::\+Cube$<$ eT $>$ \&}]{filter,  }\item[{arma\+::\+Cube$<$ eT $>$ \&}]{output,  }\item[{const size\+\_\+t}]{dW = {\ttfamily 1},  }\item[{const size\+\_\+t}]{dH = {\ttfamily 1},  }\item[{const size\+\_\+t}]{dilationW = {\ttfamily 1},  }\item[{const size\+\_\+t}]{dilationH = {\ttfamily 1} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Definition at line 187 of file naive\+\_\+convolution.\+hpp.



References Naive\+Convolution$<$ Border\+Mode $>$\+::\+Convolution().

\mbox{\label{classmlpack_1_1ann_1_1NaiveConvolution_a3afb255b85fb9c65054493f44104178f}} 
\index{mlpack\+::ann\+::\+Naive\+Convolution@{mlpack\+::ann\+::\+Naive\+Convolution}!Convolution@{Convolution}}
\index{Convolution@{Convolution}!mlpack\+::ann\+::\+Naive\+Convolution@{mlpack\+::ann\+::\+Naive\+Convolution}}
\subsubsection{Convolution()\hspace{0.1cm}{\footnotesize\ttfamily [5/5]}}
{\footnotesize\ttfamily static void \textbf{ Convolution} (\begin{DoxyParamCaption}\item[{const arma\+::\+Cube$<$ eT $>$ \&}]{input,  }\item[{const arma\+::\+Mat$<$ eT $>$ \&}]{filter,  }\item[{arma\+::\+Cube$<$ eT $>$ \&}]{output,  }\item[{const size\+\_\+t}]{dW = {\ttfamily 1},  }\item[{const size\+\_\+t}]{dH = {\ttfamily 1},  }\item[{const size\+\_\+t}]{dilationW = {\ttfamily 1},  }\item[{const size\+\_\+t}]{dilationH = {\ttfamily 1} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}



Definition at line 223 of file naive\+\_\+convolution.\+hpp.



References Naive\+Convolution$<$ Border\+Mode $>$\+::\+Convolution().



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
/var/www/mlpack.\+ratml.\+org/mlpack.\+org/\+\_\+src/mlpack-\/git/src/mlpack/methods/ann/convolution\+\_\+rules/\textbf{ naive\+\_\+convolution.\+hpp}\end{DoxyCompactItemize}
