123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106 |
- \hypertarget{class_layer_1_1_activation_layer}{}\doxysection{Layer\+::Activation\+Layer\texorpdfstring{$<$}{<} A \texorpdfstring{$>$}{>} Class Template Reference}
- \label{class_layer_1_1_activation_layer}\index{Layer::ActivationLayer$<$ A $>$@{Layer::ActivationLayer$<$ A $>$}}
- {\ttfamily \#include $<$activation.\+hpp$>$}
- Inheritance diagram for Layer\+::Activation\+Layer\texorpdfstring{$<$}{<} A \texorpdfstring{$>$}{>}\+:
- \nopagebreak
- \begin{figure}[H]
- \begin{center}
- \leavevmode
- \includegraphics[width=235pt]{class_layer_1_1_activation_layer__inherit__graph}
- \end{center}
- \end{figure}
- \doxysubsection*{Public Member Functions}
- \begin{DoxyCompactItemize}
- \item
- \mbox{\hyperlink{class_layer_1_1_activation_layer_a6999fec429ab7f6eafc9ebd5a42a8f76}{Activation\+Layer}} (const size\+\_\+t)
- \item
- \mbox{\hyperlink{class_layer_1_1_activation_layer_aa7059282e1e7eeb17b1e36e594e1f2ac}{$\sim$\+Activation\+Layer}} ()
- \item
- \mbox{\hyperlink{vector_8hpp_ab9855a300a7759f4c0f85067d44e4c38}{Vector}} \mbox{\hyperlink{class_layer_1_1_activation_layer_a9bc3eb83733b4ee5a4a3c5c50e794478}{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_activation_layer_a230ad43fde65528cc36021e097f111a4}{init\+\_\+nabla}} () override
- \item
- \mbox{\hyperlink{vector_8hpp_ab9855a300a7759f4c0f85067d44e4c38}{Vector}} \mbox{\hyperlink{class_layer_1_1_activation_layer_aa946acde267d94523d12465ca8976ab9}{back\+\_\+propagation}} (\mbox{\hyperlink{vector_8hpp_ab9855a300a7759f4c0f85067d44e4c38}{Vector}} e) override
- \item
- void \mbox{\hyperlink{class_layer_1_1_activation_layer_afbc9f12d792008bbaf6d6c2d0177ebf1}{update}} (\mbox{\hyperlink{vector_8hpp_a4b04262b81aa7d31eb5d2f607e2a35de}{Real}} eta) override
- \end{DoxyCompactItemize}
- \doxysubsection*{Additional Inherited Members}
- \doxysubsection{Detailed Description}
- \subsubsection*{template$<$\mbox{\hyperlink{namespace_layer_a154fb338e15b0326915fb7f9c383ef9f}{Activation\+Map}} A$>$\newline
- class Layer\+::\+Activation\+Layer$<$ A $>$}
- Class for activation layer. The Output vector is obtained by applying activation map to each entry of the input vector.
- \doxysubsection{Constructor \& Destructor Documentation}
- \mbox{\Hypertarget{class_layer_1_1_activation_layer_a6999fec429ab7f6eafc9ebd5a42a8f76}\label{class_layer_1_1_activation_layer_a6999fec429ab7f6eafc9ebd5a42a8f76}}
- \index{Layer::ActivationLayer$<$ A $>$@{Layer::ActivationLayer$<$ A $>$}!ActivationLayer@{ActivationLayer}}
- \index{ActivationLayer@{ActivationLayer}!Layer::ActivationLayer$<$ A $>$@{Layer::ActivationLayer$<$ A $>$}}
- \doxysubsubsection{\texorpdfstring{ActivationLayer()}{ActivationLayer()}}
- {\footnotesize\ttfamily template$<$\mbox{\hyperlink{namespace_layer_a154fb338e15b0326915fb7f9c383ef9f}{Activation\+Map}} A$>$ \\
- \mbox{\hyperlink{class_layer_1_1_activation_layer}{Layer\+::\+Activation\+Layer}}$<$ A $>$\+::\+Activation\+Layer (\begin{DoxyParamCaption}\item[{const}]{size\+\_\+t }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
- \mbox{\Hypertarget{class_layer_1_1_activation_layer_aa7059282e1e7eeb17b1e36e594e1f2ac}\label{class_layer_1_1_activation_layer_aa7059282e1e7eeb17b1e36e594e1f2ac}}
- \index{Layer::ActivationLayer$<$ A $>$@{Layer::ActivationLayer$<$ A $>$}!````~ActivationLayer@{$\sim$ActivationLayer}}
- \index{````~ActivationLayer@{$\sim$ActivationLayer}!Layer::ActivationLayer$<$ A $>$@{Layer::ActivationLayer$<$ A $>$}}
- \doxysubsubsection{\texorpdfstring{$\sim$ActivationLayer()}{~ActivationLayer()}}
- {\footnotesize\ttfamily template$<$\mbox{\hyperlink{namespace_layer_a154fb338e15b0326915fb7f9c383ef9f}{Activation\+Map}} A$>$ \\
- \mbox{\hyperlink{class_layer_1_1_activation_layer}{Layer\+::\+Activation\+Layer}}$<$ A $>$\+::$\sim$\mbox{\hyperlink{class_layer_1_1_activation_layer}{Activation\+Layer}} (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
- \doxysubsection{Member Function Documentation}
- \mbox{\Hypertarget{class_layer_1_1_activation_layer_aa946acde267d94523d12465ca8976ab9}\label{class_layer_1_1_activation_layer_aa946acde267d94523d12465ca8976ab9}}
- \index{Layer::ActivationLayer$<$ A $>$@{Layer::ActivationLayer$<$ A $>$}!back\_propagation@{back\_propagation}}
- \index{back\_propagation@{back\_propagation}!Layer::ActivationLayer$<$ A $>$@{Layer::ActivationLayer$<$ A $>$}}
- \doxysubsubsection{\texorpdfstring{back\_propagation()}{back\_propagation()}}
- {\footnotesize\ttfamily template$<$\mbox{\hyperlink{namespace_layer_a154fb338e15b0326915fb7f9c383ef9f}{Activation\+Map}} A$>$ \\
- \mbox{\hyperlink{vector_8hpp_ab9855a300a7759f4c0f85067d44e4c38}{Vector}} \mbox{\hyperlink{class_layer_1_1_activation_layer}{Layer\+::\+Activation\+Layer}}$<$ A $>$\+::back\+\_\+propagation (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{vector_8hpp_ab9855a300a7759f4c0f85067d44e4c38}{Vector}}}]{e }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [override]}, {\ttfamily [virtual]}}
- $d[i]:=\alpha\textnormal{\textquotesingle}(x[i])\times \e[i]$ where $\alpha$ is the activation map and \$e\$ the difference output vector.
- Implements \mbox{\hyperlink{class_layer_1_1_layer_ad9e2853fce56b014b1e9de5097e21dbd}{Layer\+::\+Layer}}.
- \mbox{\Hypertarget{class_layer_1_1_activation_layer_a9bc3eb83733b4ee5a4a3c5c50e794478}\label{class_layer_1_1_activation_layer_a9bc3eb83733b4ee5a4a3c5c50e794478}}
- \index{Layer::ActivationLayer$<$ A $>$@{Layer::ActivationLayer$<$ A $>$}!feed\_forward@{feed\_forward}}
- \index{feed\_forward@{feed\_forward}!Layer::ActivationLayer$<$ A $>$@{Layer::ActivationLayer$<$ A $>$}}
- \doxysubsubsection{\texorpdfstring{feed\_forward()}{feed\_forward()}}
- {\footnotesize\ttfamily template$<$\mbox{\hyperlink{namespace_layer_a154fb338e15b0326915fb7f9c383ef9f}{Activation\+Map}} A$>$ \\
- \mbox{\hyperlink{vector_8hpp_ab9855a300a7759f4c0f85067d44e4c38}{Vector}} \mbox{\hyperlink{class_layer_1_1_activation_layer}{Layer\+::\+Activation\+Layer}}$<$ A $>$\+::feed\+\_\+forward (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{vector_8hpp_ab9855a300a7759f4c0f85067d44e4c38}{Vector}}}]{x }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [override]}, {\ttfamily [virtual]}}
- $y[i]:=\alpha(x[i])$ where $\alpha$ is the activation map.
- Implements \mbox{\hyperlink{class_layer_1_1_layer_aeb5b92a01bc4e867d347bff4767e919f}{Layer\+::\+Layer}}.
- \mbox{\Hypertarget{class_layer_1_1_activation_layer_a230ad43fde65528cc36021e097f111a4}\label{class_layer_1_1_activation_layer_a230ad43fde65528cc36021e097f111a4}}
- \index{Layer::ActivationLayer$<$ A $>$@{Layer::ActivationLayer$<$ A $>$}!init\_nabla@{init\_nabla}}
- \index{init\_nabla@{init\_nabla}!Layer::ActivationLayer$<$ A $>$@{Layer::ActivationLayer$<$ A $>$}}
- \doxysubsubsection{\texorpdfstring{init\_nabla()}{init\_nabla()}}
- {\footnotesize\ttfamily template$<$\mbox{\hyperlink{namespace_layer_a154fb338e15b0326915fb7f9c383ef9f}{Activation\+Map}} A$>$ \\
- void \mbox{\hyperlink{class_layer_1_1_activation_layer}{Layer\+::\+Activation\+Layer}}$<$ A $>$\+::init\+\_\+nabla (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [override]}, {\ttfamily [virtual]}}
- Null.
- Implements \mbox{\hyperlink{class_layer_1_1_layer_a87dbd5d1c1091769ba285084bd3513e7}{Layer\+::\+Layer}}.
- \mbox{\Hypertarget{class_layer_1_1_activation_layer_afbc9f12d792008bbaf6d6c2d0177ebf1}\label{class_layer_1_1_activation_layer_afbc9f12d792008bbaf6d6c2d0177ebf1}}
- \index{Layer::ActivationLayer$<$ A $>$@{Layer::ActivationLayer$<$ A $>$}!update@{update}}
- \index{update@{update}!Layer::ActivationLayer$<$ A $>$@{Layer::ActivationLayer$<$ A $>$}}
- \doxysubsubsection{\texorpdfstring{update()}{update()}}
- {\footnotesize\ttfamily template$<$\mbox{\hyperlink{namespace_layer_a154fb338e15b0326915fb7f9c383ef9f}{Activation\+Map}} A$>$ \\
- void \mbox{\hyperlink{class_layer_1_1_activation_layer}{Layer\+::\+Activation\+Layer}}$<$ A $>$\+::update (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{vector_8hpp_a4b04262b81aa7d31eb5d2f607e2a35de}{Real}}}]{eta }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [override]}, {\ttfamily [virtual]}}
- Null.
- Implements \mbox{\hyperlink{class_layer_1_1_layer_a8f0801b946b94dfe856c57a632c9998f}{Layer\+::\+Layer}}.
- The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
- \item
- src/layers/\mbox{\hyperlink{activation_8hpp}{activation.\+hpp}}\end{DoxyCompactItemize}
|