\section{Lecun\+Normal\+Initialization Class Reference}
\label{classmlpack_1_1ann_1_1LecunNormalInitialization}\index{Lecun\+Normal\+Initialization@{Lecun\+Normal\+Initialization}}


This class is used to initialize weight matrix with the Lecun Normalization initialization rule.  


\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\textbf{ Lecun\+Normal\+Initialization} ()
\begin{DoxyCompactList}\small\item\em Initialize the \doxyref{Lecun\+Normal\+Initialization}{p.}{classmlpack_1_1ann_1_1LecunNormalInitialization} object. \end{DoxyCompactList}\item 
void \textbf{ Initialize} (arma\+::mat \&W, const size\+\_\+t rows, const size\+\_\+t cols)
\begin{DoxyCompactList}\small\item\em Initialize the elements of the weight matrix with the Lecun Normal initialization rule. \end{DoxyCompactList}\item 
void \textbf{ Initialize} (arma\+::cube \&W, const size\+\_\+t rows, const size\+\_\+t cols, const size\+\_\+t slices)
\begin{DoxyCompactList}\small\item\em Initialize the elements of the specified weight 3rd order tensor with Lecun Normal initialization rule. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
This class is used to initialize weight matrix with the Lecun Normalization initialization rule. 

For more information, the following papers can be referred to\+:


\begin{DoxyCode}
@inproceedings\{Klambauer2017,
  itle  = \{Self-Normalizing Neural Networks.\},
  author = \{Klambauer, Günter and Unterthiner, Thomas
            and Mayr, Andreas and Hochreiter, Sepp\},
  pages  = \{972-981\},
  year   = \{2017\}
\}

@inproceedings\{LeCun1998,
  title  = \{Efficient BackProp\},
  author = \{LeCun, Yann and Bottou, L\{\(\backslash\)\textcolor{stringliteral}{'e\}on and Orr, Genevieve B.}
\textcolor{stringliteral}{            and M\(\backslash\)"\{u\}ller, Klaus-Robert\},}
\textcolor{stringliteral}{  year   = \{1998\},}
\textcolor{stringliteral}{  pages  = \{9--50\}}
\textcolor{stringliteral}{\}}
\end{DoxyCode}
 

Definition at line 49 of file lecun\+\_\+normal\+\_\+init.\+hpp.



\subsection{Constructor \& Destructor Documentation}
\mbox{\label{classmlpack_1_1ann_1_1LecunNormalInitialization_a24abd1d3f504939ffc5335b6a001cd9e}} 
\index{mlpack\+::ann\+::\+Lecun\+Normal\+Initialization@{mlpack\+::ann\+::\+Lecun\+Normal\+Initialization}!Lecun\+Normal\+Initialization@{Lecun\+Normal\+Initialization}}
\index{Lecun\+Normal\+Initialization@{Lecun\+Normal\+Initialization}!mlpack\+::ann\+::\+Lecun\+Normal\+Initialization@{mlpack\+::ann\+::\+Lecun\+Normal\+Initialization}}
\subsubsection{Lecun\+Normal\+Initialization()}
{\footnotesize\ttfamily \textbf{ Lecun\+Normal\+Initialization} (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Initialize the \doxyref{Lecun\+Normal\+Initialization}{p.}{classmlpack_1_1ann_1_1LecunNormalInitialization} object. 



Definition at line 55 of file lecun\+\_\+normal\+\_\+init.\+hpp.



\subsection{Member Function Documentation}
\mbox{\label{classmlpack_1_1ann_1_1LecunNormalInitialization_a870af438b91de46ad31a5b64ce97192a}} 
\index{mlpack\+::ann\+::\+Lecun\+Normal\+Initialization@{mlpack\+::ann\+::\+Lecun\+Normal\+Initialization}!Initialize@{Initialize}}
\index{Initialize@{Initialize}!mlpack\+::ann\+::\+Lecun\+Normal\+Initialization@{mlpack\+::ann\+::\+Lecun\+Normal\+Initialization}}
\subsubsection{Initialize()\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void Initialize (\begin{DoxyParamCaption}\item[{arma\+::mat \&}]{W,  }\item[{const size\+\_\+t}]{rows,  }\item[{const size\+\_\+t}]{cols }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Initialize the elements of the weight matrix with the Lecun Normal initialization rule. 


\begin{DoxyParams}{Parameters}
{\em W} & Weight matrix to initialize. \\
\hline
{\em rows} & Number of rows. \\
\hline
{\em cols} & Number of columns. \\
\hline
\end{DoxyParams}


Definition at line 68 of file lecun\+\_\+normal\+\_\+init.\+hpp.



Referenced by Lecun\+Normal\+Initialization\+::\+Initialize().

\mbox{\label{classmlpack_1_1ann_1_1LecunNormalInitialization_a3a2ddfeabc7c50f46b22420c573b2d36}} 
\index{mlpack\+::ann\+::\+Lecun\+Normal\+Initialization@{mlpack\+::ann\+::\+Lecun\+Normal\+Initialization}!Initialize@{Initialize}}
\index{Initialize@{Initialize}!mlpack\+::ann\+::\+Lecun\+Normal\+Initialization@{mlpack\+::ann\+::\+Lecun\+Normal\+Initialization}}
\subsubsection{Initialize()\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void Initialize (\begin{DoxyParamCaption}\item[{arma\+::cube \&}]{W,  }\item[{const size\+\_\+t}]{rows,  }\item[{const size\+\_\+t}]{cols,  }\item[{const size\+\_\+t}]{slices }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Initialize the elements of the specified weight 3rd order tensor with Lecun Normal initialization rule. 


\begin{DoxyParams}{Parameters}
{\em W} & Weight matrix to initialize. \\
\hline
{\em rows} & Number of rows. \\
\hline
{\em cols} & Number of columns. \\
\hline
{\em slices} & Number of slices. \\
\hline
\end{DoxyParams}


Definition at line 96 of file lecun\+\_\+normal\+\_\+init.\+hpp.



References Lecun\+Normal\+Initialization\+::\+Initialize().



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.\+2/src/mlpack/methods/ann/init\+\_\+rules/\textbf{ lecun\+\_\+normal\+\_\+init.\+hpp}\end{DoxyCompactItemize}
