\hypertarget{class_layer_1_1_convolution_layer}{}\doxysection{Layer\+::Convolution\+Layer Class Reference}
\label{class_layer_1_1_convolution_layer}\index{Layer::ConvolutionLayer@{Layer::ConvolutionLayer}}


{\ttfamily \#include $<$convolution.\+hpp$>$}



Inheritance diagram for Layer\+::Convolution\+Layer\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=215pt]{class_layer_1_1_convolution_layer__inherit__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{class_layer_1_1_convolution_layer_a7d76977d90ca11bd1d36dbade396f1c6}{Convolution\+Layer}} (size\+\_\+t nf, size\+\_\+t ni, size\+\_\+t nj, size\+\_\+t p, size\+\_\+t q, size\+\_\+t mf)
\item 
\mbox{\hyperlink{class_layer_1_1_convolution_layer_a0b79936c340c1667025dfda84c4c9273}{$\sim$\+Convolution\+Layer}} ()
\item 
void \mbox{\hyperlink{class_layer_1_1_convolution_layer_a4ec9a15fc2bb960f6c02841c6293d61a}{init}} (\mbox{\hyperlink{vector_8hpp_a4b04262b81aa7d31eb5d2f607e2a35de}{Real}} mu, \mbox{\hyperlink{vector_8hpp_a4b04262b81aa7d31eb5d2f607e2a35de}{Real}} sigma)
\item 
\mbox{\hyperlink{vector_8hpp_ab9855a300a7759f4c0f85067d44e4c38}{Vector}} \mbox{\hyperlink{class_layer_1_1_convolution_layer_a8315ef1016d165f8986fb3d4c2b65276}{feed\+\_\+forward}} (\mbox{\hyperlink{vector_8hpp_ab9855a300a7759f4c0f85067d44e4c38}{Vector}} \mbox{\hyperlink{class_layer_1_1_layer_af2ebcf019bc0e4b97f41fc9205706665}{x}}) override
\item 
void \mbox{\hyperlink{class_layer_1_1_convolution_layer_a435dfabf3e575ddf07a11304e2d4fe84}{init\+\_\+nabla}} () override
\item 
\mbox{\hyperlink{vector_8hpp_ab9855a300a7759f4c0f85067d44e4c38}{Vector}} \mbox{\hyperlink{class_layer_1_1_convolution_layer_a5ccdf83a1217d57678c8bedcecc43a2a}{back\+\_\+propagation}} (\mbox{\hyperlink{vector_8hpp_ab9855a300a7759f4c0f85067d44e4c38}{Vector}} e) override
\item 
void \mbox{\hyperlink{class_layer_1_1_convolution_layer_a4764f42dfc31ad2d848e0d1c22b0704b}{update}} (\mbox{\hyperlink{vector_8hpp_a4b04262b81aa7d31eb5d2f607e2a35de}{Real}} eta) override
\end{DoxyCompactItemize}
\doxysubsection*{Additional Inherited Members}


\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{class_layer_1_1_convolution_layer_a7d76977d90ca11bd1d36dbade396f1c6}\label{class_layer_1_1_convolution_layer_a7d76977d90ca11bd1d36dbade396f1c6}} 
\index{Layer::ConvolutionLayer@{Layer::ConvolutionLayer}!ConvolutionLayer@{ConvolutionLayer}}
\index{ConvolutionLayer@{ConvolutionLayer}!Layer::ConvolutionLayer@{Layer::ConvolutionLayer}}
\doxysubsubsection{\texorpdfstring{ConvolutionLayer()}{ConvolutionLayer()}}
{\footnotesize\ttfamily Layer\+::\+Convolution\+Layer\+::\+Convolution\+Layer (\begin{DoxyParamCaption}\item[{size\+\_\+t}]{nf,  }\item[{size\+\_\+t}]{ni,  }\item[{size\+\_\+t}]{nj,  }\item[{size\+\_\+t}]{p,  }\item[{size\+\_\+t}]{q,  }\item[{size\+\_\+t}]{mf }\end{DoxyParamCaption})}

\mbox{\Hypertarget{class_layer_1_1_convolution_layer_a0b79936c340c1667025dfda84c4c9273}\label{class_layer_1_1_convolution_layer_a0b79936c340c1667025dfda84c4c9273}} 
\index{Layer::ConvolutionLayer@{Layer::ConvolutionLayer}!````~ConvolutionLayer@{$\sim$ConvolutionLayer}}
\index{````~ConvolutionLayer@{$\sim$ConvolutionLayer}!Layer::ConvolutionLayer@{Layer::ConvolutionLayer}}
\doxysubsubsection{\texorpdfstring{$\sim$ConvolutionLayer()}{~ConvolutionLayer()}}
{\footnotesize\ttfamily Layer\+::\+Convolution\+Layer\+::$\sim$\+Convolution\+Layer (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{class_layer_1_1_convolution_layer_a5ccdf83a1217d57678c8bedcecc43a2a}\label{class_layer_1_1_convolution_layer_a5ccdf83a1217d57678c8bedcecc43a2a}} 
\index{Layer::ConvolutionLayer@{Layer::ConvolutionLayer}!back\_propagation@{back\_propagation}}
\index{back\_propagation@{back\_propagation}!Layer::ConvolutionLayer@{Layer::ConvolutionLayer}}
\doxysubsubsection{\texorpdfstring{back\_propagation()}{back\_propagation()}}
{\footnotesize\ttfamily \mbox{\hyperlink{vector_8hpp_ab9855a300a7759f4c0f85067d44e4c38}{Vector}} Layer\+::\+Convolution\+Layer\+::back\+\_\+propagation (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{vector_8hpp_ab9855a300a7759f4c0f85067d44e4c38}{Vector}}}]{e }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [override]}, {\ttfamily [virtual]}}

Apply back propagation algorithm on the delta output vector d. Used the input vector stored in x\+\_\+in\+\_\+ref during feedforward. Return a reference to the computed (and stored) input delta vector. Nabla vectors must be computed here. 

Implements \mbox{\hyperlink{class_layer_1_1_layer_ad9e2853fce56b014b1e9de5097e21dbd}{Layer\+::\+Layer}}.

\mbox{\Hypertarget{class_layer_1_1_convolution_layer_a8315ef1016d165f8986fb3d4c2b65276}\label{class_layer_1_1_convolution_layer_a8315ef1016d165f8986fb3d4c2b65276}} 
\index{Layer::ConvolutionLayer@{Layer::ConvolutionLayer}!feed\_forward@{feed\_forward}}
\index{feed\_forward@{feed\_forward}!Layer::ConvolutionLayer@{Layer::ConvolutionLayer}}
\doxysubsubsection{\texorpdfstring{feed\_forward()}{feed\_forward()}}
{\footnotesize\ttfamily \mbox{\hyperlink{vector_8hpp_ab9855a300a7759f4c0f85067d44e4c38}{Vector}} Layer\+::\+Convolution\+Layer\+::feed\+\_\+forward (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{vector_8hpp_ab9855a300a7759f4c0f85067d44e4c38}{Vector}}}]{x }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [override]}, {\ttfamily [virtual]}}

Apply the layer to the input vector {\ttfamily x}. Vectors {\ttfamily x\+\_\+in\+\_\+ref} and {\ttfamily x\+\_\+out} must be updated in consequence. Return a reference to x\+\_\+out. 

Implements \mbox{\hyperlink{class_layer_1_1_layer_aeb5b92a01bc4e867d347bff4767e919f}{Layer\+::\+Layer}}.

\mbox{\Hypertarget{class_layer_1_1_convolution_layer_a4ec9a15fc2bb960f6c02841c6293d61a}\label{class_layer_1_1_convolution_layer_a4ec9a15fc2bb960f6c02841c6293d61a}} 
\index{Layer::ConvolutionLayer@{Layer::ConvolutionLayer}!init@{init}}
\index{init@{init}!Layer::ConvolutionLayer@{Layer::ConvolutionLayer}}
\doxysubsubsection{\texorpdfstring{init()}{init()}}
{\footnotesize\ttfamily void Layer\+::\+Convolution\+Layer\+::init (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{vector_8hpp_a4b04262b81aa7d31eb5d2f607e2a35de}{Real}}}]{mu,  }\item[{\mbox{\hyperlink{vector_8hpp_a4b04262b81aa7d31eb5d2f607e2a35de}{Real}}}]{sigma }\end{DoxyParamCaption})}

\mbox{\Hypertarget{class_layer_1_1_convolution_layer_a435dfabf3e575ddf07a11304e2d4fe84}\label{class_layer_1_1_convolution_layer_a435dfabf3e575ddf07a11304e2d4fe84}} 
\index{Layer::ConvolutionLayer@{Layer::ConvolutionLayer}!init\_nabla@{init\_nabla}}
\index{init\_nabla@{init\_nabla}!Layer::ConvolutionLayer@{Layer::ConvolutionLayer}}
\doxysubsubsection{\texorpdfstring{init\_nabla()}{init\_nabla()}}
{\footnotesize\ttfamily void Layer\+::\+Convolution\+Layer\+::init\+\_\+nabla (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [override]}, {\ttfamily [virtual]}}

Initialize nabla vectors which are used during gradient descent. 

Implements \mbox{\hyperlink{class_layer_1_1_layer_a87dbd5d1c1091769ba285084bd3513e7}{Layer\+::\+Layer}}.

\mbox{\Hypertarget{class_layer_1_1_convolution_layer_a4764f42dfc31ad2d848e0d1c22b0704b}\label{class_layer_1_1_convolution_layer_a4764f42dfc31ad2d848e0d1c22b0704b}} 
\index{Layer::ConvolutionLayer@{Layer::ConvolutionLayer}!update@{update}}
\index{update@{update}!Layer::ConvolutionLayer@{Layer::ConvolutionLayer}}
\doxysubsubsection{\texorpdfstring{update()}{update()}}
{\footnotesize\ttfamily void Layer\+::\+Convolution\+Layer\+::update (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{vector_8hpp_a4b04262b81aa7d31eb5d2f607e2a35de}{Real}}}]{eta }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [override]}, {\ttfamily [virtual]}}

Update layer parameters using gradient descent algorithm with learning rate eta. 

Implements \mbox{\hyperlink{class_layer_1_1_layer_a8f0801b946b94dfe856c57a632c9998f}{Layer\+::\+Layer}}.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
src/layers/\mbox{\hyperlink{convolution_8hpp}{convolution.\+hpp}}\item 
src/layers/\mbox{\hyperlink{convolution_8cpp}{convolution.\+cpp}}\end{DoxyCompactItemize}
