\section{Mean\+Pooling$<$ Input\+Data\+Type, Output\+Data\+Type $>$ Class Template Reference}
\label{classmlpack_1_1ann_1_1MeanPooling}\index{Mean\+Pooling$<$ Input\+Data\+Type, Output\+Data\+Type $>$@{Mean\+Pooling$<$ Input\+Data\+Type, Output\+Data\+Type $>$}}


Implementation of the \doxyref{Mean\+Pooling}{p.}{classmlpack_1_1ann_1_1MeanPooling}.  


\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\textbf{ Mean\+Pooling} ()
\begin{DoxyCompactList}\small\item\em Create the \doxyref{Mean\+Pooling}{p.}{classmlpack_1_1ann_1_1MeanPooling} object. \end{DoxyCompactList}\item 
\textbf{ Mean\+Pooling} (const size\+\_\+t kernel\+Width, const size\+\_\+t kernel\+Height, const size\+\_\+t stride\+Width=1, const size\+\_\+t stride\+Height=1, const bool floor=true)
\begin{DoxyCompactList}\small\item\em Create the \doxyref{Mean\+Pooling}{p.}{classmlpack_1_1ann_1_1MeanPooling} object using the specified number of units. \end{DoxyCompactList}\item 
{\footnotesize template$<$typename eT $>$ }\\void \textbf{ Backward} (const arma\+::\+Mat$<$ eT $>$ \&, const arma\+::\+Mat$<$ eT $>$ \&gy, arma\+::\+Mat$<$ eT $>$ \&g)
\begin{DoxyCompactList}\small\item\em Ordinary feed backward pass of a neural network, using 3rd-\/order tensors as input, calculating the function f(x) by propagating x backwards through f. \end{DoxyCompactList}\item 
Output\+Data\+Type const  \& \textbf{ Delta} () const
\begin{DoxyCompactList}\small\item\em Get the delta. \end{DoxyCompactList}\item 
Output\+Data\+Type \& \textbf{ Delta} ()
\begin{DoxyCompactList}\small\item\em Modify the delta. \end{DoxyCompactList}\item 
bool \textbf{ Deterministic} () const
\begin{DoxyCompactList}\small\item\em Get the value of the deterministic parameter. \end{DoxyCompactList}\item 
bool \& \textbf{ Deterministic} ()
\begin{DoxyCompactList}\small\item\em Modify the value of the deterministic parameter. \end{DoxyCompactList}\item 
bool const  \& \textbf{ Floor} () const
\begin{DoxyCompactList}\small\item\em Get the value of the rounding operation. \end{DoxyCompactList}\item 
bool \& \textbf{ Floor} ()
\begin{DoxyCompactList}\small\item\em Modify the value of the rounding operation. \end{DoxyCompactList}\item 
{\footnotesize template$<$typename eT $>$ }\\void \textbf{ Forward} (const arma\+::\+Mat$<$ eT $>$ \&input, arma\+::\+Mat$<$ eT $>$ \&output)
\begin{DoxyCompactList}\small\item\em Ordinary feed forward pass of a neural network, evaluating the function f(x) by propagating the activity forward through f. \end{DoxyCompactList}\item 
size\+\_\+t const  \& \textbf{ Input\+Height} () const
\begin{DoxyCompactList}\small\item\em Get the height. \end{DoxyCompactList}\item 
size\+\_\+t \& \textbf{ Input\+Height} ()
\begin{DoxyCompactList}\small\item\em Modify the height. \end{DoxyCompactList}\item 
size\+\_\+t \textbf{ Input\+Size} () const
\begin{DoxyCompactList}\small\item\em Get the input size. \end{DoxyCompactList}\item 
size\+\_\+t const  \& \textbf{ Input\+Width} () const
\begin{DoxyCompactList}\small\item\em Get the width. \end{DoxyCompactList}\item 
size\+\_\+t \& \textbf{ Input\+Width} ()
\begin{DoxyCompactList}\small\item\em Modify the width. \end{DoxyCompactList}\item 
size\+\_\+t \textbf{ Kernel\+Height} () const
\begin{DoxyCompactList}\small\item\em Get the kernel height. \end{DoxyCompactList}\item 
size\+\_\+t \& \textbf{ Kernel\+Height} ()
\begin{DoxyCompactList}\small\item\em Modify the kernel height. \end{DoxyCompactList}\item 
size\+\_\+t \textbf{ Kernel\+Width} () const
\begin{DoxyCompactList}\small\item\em Get the kernel width. \end{DoxyCompactList}\item 
size\+\_\+t \& \textbf{ Kernel\+Width} ()
\begin{DoxyCompactList}\small\item\em Modify the kernel width. \end{DoxyCompactList}\item 
size\+\_\+t const  \& \textbf{ Output\+Height} () const
\begin{DoxyCompactList}\small\item\em Get the height. \end{DoxyCompactList}\item 
size\+\_\+t \& \textbf{ Output\+Height} ()
\begin{DoxyCompactList}\small\item\em Modify the height. \end{DoxyCompactList}\item 
Output\+Data\+Type const  \& \textbf{ Output\+Parameter} () const
\begin{DoxyCompactList}\small\item\em Get the output parameter. \end{DoxyCompactList}\item 
Output\+Data\+Type \& \textbf{ Output\+Parameter} ()
\begin{DoxyCompactList}\small\item\em Modify the output parameter. \end{DoxyCompactList}\item 
size\+\_\+t \textbf{ Output\+Size} () const
\begin{DoxyCompactList}\small\item\em Get the output size. \end{DoxyCompactList}\item 
size\+\_\+t const  \& \textbf{ Output\+Width} () const
\begin{DoxyCompactList}\small\item\em Get the width. \end{DoxyCompactList}\item 
size\+\_\+t \& \textbf{ Output\+Width} ()
\begin{DoxyCompactList}\small\item\em Modify the width. \end{DoxyCompactList}\item 
{\footnotesize template$<$typename Archive $>$ }\\void \textbf{ serialize} (Archive \&ar, const unsigned int)
\begin{DoxyCompactList}\small\item\em Serialize the layer. \end{DoxyCompactList}\item 
size\+\_\+t \textbf{ Stride\+Height} () const
\begin{DoxyCompactList}\small\item\em Get the stride height. \end{DoxyCompactList}\item 
size\+\_\+t \& \textbf{ Stride\+Height} ()
\begin{DoxyCompactList}\small\item\em Modify the stride height. \end{DoxyCompactList}\item 
size\+\_\+t \textbf{ Stride\+Width} () const
\begin{DoxyCompactList}\small\item\em Get the stride width. \end{DoxyCompactList}\item 
size\+\_\+t \& \textbf{ Stride\+Width} ()
\begin{DoxyCompactList}\small\item\em Modify the stride width. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$typename Input\+Data\+Type = arma\+::mat, typename Output\+Data\+Type = arma\+::mat$>$\newline
class mlpack\+::ann\+::\+Mean\+Pooling$<$ Input\+Data\+Type, Output\+Data\+Type $>$}

Implementation of the \doxyref{Mean\+Pooling}{p.}{classmlpack_1_1ann_1_1MeanPooling}. 


\begin{DoxyTemplParams}{Template Parameters}
{\em Input\+Data\+Type} & Type of the input data (arma\+::colvec, arma\+::mat, arma\+::sp\+\_\+mat or arma\+::cube). \\
\hline
{\em Output\+Data\+Type} & Type of the output data (arma\+::colvec, arma\+::mat, arma\+::sp\+\_\+mat or arma\+::cube). \\
\hline
\end{DoxyTemplParams}


Definition at line 33 of file mean\+\_\+pooling.\+hpp.



\subsection{Constructor \& Destructor Documentation}
\mbox{\label{classmlpack_1_1ann_1_1MeanPooling_a58f7a6dd7a5347319abbe02a9b7305a8}} 
\index{mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}!Mean\+Pooling@{Mean\+Pooling}}
\index{Mean\+Pooling@{Mean\+Pooling}!mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}}
\subsubsection{Mean\+Pooling()\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \textbf{ Mean\+Pooling} (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Create the \doxyref{Mean\+Pooling}{p.}{classmlpack_1_1ann_1_1MeanPooling} object. 

\mbox{\label{classmlpack_1_1ann_1_1MeanPooling_a67cf84155c1e6173156907c9f0faa393}} 
\index{mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}!Mean\+Pooling@{Mean\+Pooling}}
\index{Mean\+Pooling@{Mean\+Pooling}!mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}}
\subsubsection{Mean\+Pooling()\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \textbf{ Mean\+Pooling} (\begin{DoxyParamCaption}\item[{const size\+\_\+t}]{kernel\+Width,  }\item[{const size\+\_\+t}]{kernel\+Height,  }\item[{const size\+\_\+t}]{stride\+Width = {\ttfamily 1},  }\item[{const size\+\_\+t}]{stride\+Height = {\ttfamily 1},  }\item[{const bool}]{floor = {\ttfamily true} }\end{DoxyParamCaption})}



Create the \doxyref{Mean\+Pooling}{p.}{classmlpack_1_1ann_1_1MeanPooling} object using the specified number of units. 


\begin{DoxyParams}{Parameters}
{\em kernel\+Width} & Width of the pooling window. \\
\hline
{\em kernel\+Height} & Height of the pooling window. \\
\hline
{\em stride\+Width} & Width of the stride operation. \\
\hline
{\em stride\+Height} & Width of the stride operation. \\
\hline
\end{DoxyParams}


\subsection{Member Function Documentation}
\mbox{\label{classmlpack_1_1ann_1_1MeanPooling_ad9ad1a3bdb0f3fff5c839ed155e4bbf8}} 
\index{mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}!Backward@{Backward}}
\index{Backward@{Backward}!mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}}
\subsubsection{Backward()}
{\footnotesize\ttfamily void Backward (\begin{DoxyParamCaption}\item[{const arma\+::\+Mat$<$ eT $>$ \&}]{,  }\item[{const arma\+::\+Mat$<$ eT $>$ \&}]{gy,  }\item[{arma\+::\+Mat$<$ eT $>$ \&}]{g }\end{DoxyParamCaption})}



Ordinary feed backward pass of a neural network, using 3rd-\/order tensors as input, calculating the function f(x) by propagating x backwards through f. 

Using the results from the feed forward pass.


\begin{DoxyParams}{Parameters}
{\em input} & The propagated input activation. \\
\hline
{\em gy} & The backpropagated error. \\
\hline
{\em g} & The calculated gradient. \\
\hline
\end{DoxyParams}
\mbox{\label{classmlpack_1_1ann_1_1MeanPooling_a797f7edb44dd081e5e2b3cc316eef6bd}} 
\index{mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}!Delta@{Delta}}
\index{Delta@{Delta}!mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}}
\subsubsection{Delta()\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily Output\+Data\+Type const\& Delta (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get the delta. 



Definition at line 83 of file mean\+\_\+pooling.\+hpp.

\mbox{\label{classmlpack_1_1ann_1_1MeanPooling_ad6601342d560219ce951d554e69e5e87}} 
\index{mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}!Delta@{Delta}}
\index{Delta@{Delta}!mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}}
\subsubsection{Delta()\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily Output\+Data\+Type\& Delta (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Modify the delta. 



Definition at line 85 of file mean\+\_\+pooling.\+hpp.

\mbox{\label{classmlpack_1_1ann_1_1MeanPooling_a9f4103707f4d199ce5594d239b60443e}} 
\index{mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}!Deterministic@{Deterministic}}
\index{Deterministic@{Deterministic}!mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}}
\subsubsection{Deterministic()\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily bool Deterministic (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get the value of the deterministic parameter. 



Definition at line 139 of file mean\+\_\+pooling.\+hpp.

\mbox{\label{classmlpack_1_1ann_1_1MeanPooling_a42d4ee3da432cff20d3a41b8b1ec801c}} 
\index{mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}!Deterministic@{Deterministic}}
\index{Deterministic@{Deterministic}!mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}}
\subsubsection{Deterministic()\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily bool\& Deterministic (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Modify the value of the deterministic parameter. 



Definition at line 141 of file mean\+\_\+pooling.\+hpp.



References Mean\+Pooling$<$ Input\+Data\+Type, Output\+Data\+Type $>$\+::serialize().

\mbox{\label{classmlpack_1_1ann_1_1MeanPooling_a787a10955ce98f589e7cc08f1c1beb75}} 
\index{mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}!Floor@{Floor}}
\index{Floor@{Floor}!mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}}
\subsubsection{Floor()\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily bool const\& Floor (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get the value of the rounding operation. 



Definition at line 134 of file mean\+\_\+pooling.\+hpp.

\mbox{\label{classmlpack_1_1ann_1_1MeanPooling_a8859ce7b4be2b8ffbf36bbc8ff16aecd}} 
\index{mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}!Floor@{Floor}}
\index{Floor@{Floor}!mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}}
\subsubsection{Floor()\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily bool\& Floor (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Modify the value of the rounding operation. 



Definition at line 136 of file mean\+\_\+pooling.\+hpp.

\mbox{\label{classmlpack_1_1ann_1_1MeanPooling_a461f849bc638c15bec262dc9c3a58abe}} 
\index{mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}!Forward@{Forward}}
\index{Forward@{Forward}!mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}}
\subsubsection{Forward()}
{\footnotesize\ttfamily void Forward (\begin{DoxyParamCaption}\item[{const arma\+::\+Mat$<$ eT $>$ \&}]{input,  }\item[{arma\+::\+Mat$<$ eT $>$ \&}]{output }\end{DoxyParamCaption})}



Ordinary feed forward pass of a neural network, evaluating the function f(x) by propagating the activity forward through f. 


\begin{DoxyParams}{Parameters}
{\em input} & Input data used for evaluating the specified function. \\
\hline
{\em output} & Resulting output activation. \\
\hline
\end{DoxyParams}
\mbox{\label{classmlpack_1_1ann_1_1MeanPooling_afb3fd4ed60dd057e7852221b89206f15}} 
\index{mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}!Input\+Height@{Input\+Height}}
\index{Input\+Height@{Input\+Height}!mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}}
\subsubsection{Input\+Height()\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily size\+\_\+t const\& Input\+Height (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get the height. 



Definition at line 93 of file mean\+\_\+pooling.\+hpp.

\mbox{\label{classmlpack_1_1ann_1_1MeanPooling_aefbba724eec397a928d5460bb209a360}} 
\index{mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}!Input\+Height@{Input\+Height}}
\index{Input\+Height@{Input\+Height}!mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}}
\subsubsection{Input\+Height()\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily size\+\_\+t\& Input\+Height (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Modify the height. 



Definition at line 95 of file mean\+\_\+pooling.\+hpp.

\mbox{\label{classmlpack_1_1ann_1_1MeanPooling_a5a4c4984aa897a28d516e638e7ea5308}} 
\index{mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}!Input\+Size@{Input\+Size}}
\index{Input\+Size@{Input\+Size}!mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}}
\subsubsection{Input\+Size()}
{\footnotesize\ttfamily size\+\_\+t Input\+Size (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get the input size. 



Definition at line 108 of file mean\+\_\+pooling.\+hpp.

\mbox{\label{classmlpack_1_1ann_1_1MeanPooling_a29346e3064da8f9e5f10596bedae0ba8}} 
\index{mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}!Input\+Width@{Input\+Width}}
\index{Input\+Width@{Input\+Width}!mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}}
\subsubsection{Input\+Width()\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily size\+\_\+t const\& Input\+Width (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get the width. 



Definition at line 88 of file mean\+\_\+pooling.\+hpp.

\mbox{\label{classmlpack_1_1ann_1_1MeanPooling_a238e9d308df611a9300a4ca6756fef4d}} 
\index{mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}!Input\+Width@{Input\+Width}}
\index{Input\+Width@{Input\+Width}!mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}}
\subsubsection{Input\+Width()\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily size\+\_\+t\& Input\+Width (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Modify the width. 



Definition at line 90 of file mean\+\_\+pooling.\+hpp.

\mbox{\label{classmlpack_1_1ann_1_1MeanPooling_a6c15e2e3416651fac44621acbbdac9e9}} 
\index{mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}!Kernel\+Height@{Kernel\+Height}}
\index{Kernel\+Height@{Kernel\+Height}!mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}}
\subsubsection{Kernel\+Height()\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily size\+\_\+t Kernel\+Height (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get the kernel height. 



Definition at line 119 of file mean\+\_\+pooling.\+hpp.

\mbox{\label{classmlpack_1_1ann_1_1MeanPooling_a46b2c28d89959067f549f9f45d2626c5}} 
\index{mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}!Kernel\+Height@{Kernel\+Height}}
\index{Kernel\+Height@{Kernel\+Height}!mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}}
\subsubsection{Kernel\+Height()\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily size\+\_\+t\& Kernel\+Height (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Modify the kernel height. 



Definition at line 121 of file mean\+\_\+pooling.\+hpp.

\mbox{\label{classmlpack_1_1ann_1_1MeanPooling_a656302bc9b300692aa71abe2a614c7b1}} 
\index{mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}!Kernel\+Width@{Kernel\+Width}}
\index{Kernel\+Width@{Kernel\+Width}!mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}}
\subsubsection{Kernel\+Width()\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily size\+\_\+t Kernel\+Width (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get the kernel width. 



Definition at line 114 of file mean\+\_\+pooling.\+hpp.

\mbox{\label{classmlpack_1_1ann_1_1MeanPooling_a5fbae452ceda395f5566833e06ba3615}} 
\index{mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}!Kernel\+Width@{Kernel\+Width}}
\index{Kernel\+Width@{Kernel\+Width}!mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}}
\subsubsection{Kernel\+Width()\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily size\+\_\+t\& Kernel\+Width (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Modify the kernel width. 



Definition at line 116 of file mean\+\_\+pooling.\+hpp.

\mbox{\label{classmlpack_1_1ann_1_1MeanPooling_a5ad7dbcaf1a622dafd897f79ab77890c}} 
\index{mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}!Output\+Height@{Output\+Height}}
\index{Output\+Height@{Output\+Height}!mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}}
\subsubsection{Output\+Height()\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily size\+\_\+t const\& Output\+Height (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get the height. 



Definition at line 103 of file mean\+\_\+pooling.\+hpp.

\mbox{\label{classmlpack_1_1ann_1_1MeanPooling_ac5112abf9f5e1face13ed965a8755b1d}} 
\index{mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}!Output\+Height@{Output\+Height}}
\index{Output\+Height@{Output\+Height}!mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}}
\subsubsection{Output\+Height()\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily size\+\_\+t\& Output\+Height (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Modify the height. 



Definition at line 105 of file mean\+\_\+pooling.\+hpp.

\mbox{\label{classmlpack_1_1ann_1_1MeanPooling_a0ee21c2a36e5abad1e7a9d5dd00849f9}} 
\index{mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}!Output\+Parameter@{Output\+Parameter}}
\index{Output\+Parameter@{Output\+Parameter}!mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}}
\subsubsection{Output\+Parameter()\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily Output\+Data\+Type const\& Output\+Parameter (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get the output parameter. 



Definition at line 78 of file mean\+\_\+pooling.\+hpp.

\mbox{\label{classmlpack_1_1ann_1_1MeanPooling_a21d5f745f02c709625a4ee0907f004a5}} 
\index{mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}!Output\+Parameter@{Output\+Parameter}}
\index{Output\+Parameter@{Output\+Parameter}!mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}}
\subsubsection{Output\+Parameter()\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily Output\+Data\+Type\& Output\+Parameter (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Modify the output parameter. 



Definition at line 80 of file mean\+\_\+pooling.\+hpp.

\mbox{\label{classmlpack_1_1ann_1_1MeanPooling_a99c1d948c984b9e76fb5e37e2145427a}} 
\index{mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}!Output\+Size@{Output\+Size}}
\index{Output\+Size@{Output\+Size}!mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}}
\subsubsection{Output\+Size()}
{\footnotesize\ttfamily size\+\_\+t Output\+Size (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get the output size. 



Definition at line 111 of file mean\+\_\+pooling.\+hpp.

\mbox{\label{classmlpack_1_1ann_1_1MeanPooling_a32b3e3fe787456847fc3b2c39586ecb1}} 
\index{mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}!Output\+Width@{Output\+Width}}
\index{Output\+Width@{Output\+Width}!mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}}
\subsubsection{Output\+Width()\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily size\+\_\+t const\& Output\+Width (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get the width. 



Definition at line 98 of file mean\+\_\+pooling.\+hpp.

\mbox{\label{classmlpack_1_1ann_1_1MeanPooling_a54579ec9924e2a4a5bc0a4fb822ce80c}} 
\index{mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}!Output\+Width@{Output\+Width}}
\index{Output\+Width@{Output\+Width}!mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}}
\subsubsection{Output\+Width()\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily size\+\_\+t\& Output\+Width (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Modify the width. 



Definition at line 100 of file mean\+\_\+pooling.\+hpp.

\mbox{\label{classmlpack_1_1ann_1_1MeanPooling_af0dd9205158ccf7bcfcd8ff81f79c927}} 
\index{mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}!serialize@{serialize}}
\index{serialize@{serialize}!mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}}
\subsubsection{serialize()}
{\footnotesize\ttfamily void serialize (\begin{DoxyParamCaption}\item[{Archive \&}]{ar,  }\item[{const unsigned}]{int }\end{DoxyParamCaption})}



Serialize the layer. 



Referenced by Mean\+Pooling$<$ Input\+Data\+Type, Output\+Data\+Type $>$\+::\+Deterministic().

\mbox{\label{classmlpack_1_1ann_1_1MeanPooling_a1894b819a7ff82a5576fc8deb8ba7457}} 
\index{mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}!Stride\+Height@{Stride\+Height}}
\index{Stride\+Height@{Stride\+Height}!mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}}
\subsubsection{Stride\+Height()\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily size\+\_\+t Stride\+Height (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get the stride height. 



Definition at line 129 of file mean\+\_\+pooling.\+hpp.

\mbox{\label{classmlpack_1_1ann_1_1MeanPooling_a0dd3de9c8a9060e927c575b57a021e8b}} 
\index{mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}!Stride\+Height@{Stride\+Height}}
\index{Stride\+Height@{Stride\+Height}!mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}}
\subsubsection{Stride\+Height()\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily size\+\_\+t\& Stride\+Height (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Modify the stride height. 



Definition at line 131 of file mean\+\_\+pooling.\+hpp.

\mbox{\label{classmlpack_1_1ann_1_1MeanPooling_ad8fd9eb6de956c3e9d82242793fd2db1}} 
\index{mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}!Stride\+Width@{Stride\+Width}}
\index{Stride\+Width@{Stride\+Width}!mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}}
\subsubsection{Stride\+Width()\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily size\+\_\+t Stride\+Width (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get the stride width. 



Definition at line 124 of file mean\+\_\+pooling.\+hpp.

\mbox{\label{classmlpack_1_1ann_1_1MeanPooling_af40557db9372b513440e06a5e42cc599}} 
\index{mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}!Stride\+Width@{Stride\+Width}}
\index{Stride\+Width@{Stride\+Width}!mlpack\+::ann\+::\+Mean\+Pooling@{mlpack\+::ann\+::\+Mean\+Pooling}}
\subsubsection{Stride\+Width()\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily size\+\_\+t\& Stride\+Width (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Modify the stride width. 



Definition at line 126 of file mean\+\_\+pooling.\+hpp.



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.\+0/src/mlpack/methods/ann/layer/\textbf{ mean\+\_\+pooling.\+hpp}\end{DoxyCompactItemize}
