\section{He\+Initialization Class Reference}
\label{classmlpack_1_1ann_1_1HeInitialization}\index{He\+Initialization@{He\+Initialization}}


This class is used to initialize weight matrix with the He initialization rule given by He et.  


\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\textbf{ He\+Initialization} ()
\begin{DoxyCompactList}\small\item\em Initialize the \doxyref{He\+Initialization}{p.}{classmlpack_1_1ann_1_1HeInitialization} 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 He 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 He initialization rule. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
This class is used to initialize weight matrix with the He initialization rule given by He et. 

al. for neural networks. The He initialization initializes weights of the neural network to better suit the rectified activation units.

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


\begin{DoxyCode}
@article\{Delving2015,
  title   = \{Delving Deep into Rectifiers: Surpassing Human-Level Performance
             on ImageNet Classification\},
  author  = \{Kaiming He and Xiangyu Zhang and Shaoqing Ren and Jian Sun\},
  journal = \{2015 IEEE International Conference on Computer Vision (ICCV)\},
  year    = \{2015\},
  pages   = \{1026-1034\}
\}
\end{DoxyCode}
 

Definition at line 45 of file he\+\_\+init.\+hpp.



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



Initialize the \doxyref{He\+Initialization}{p.}{classmlpack_1_1ann_1_1HeInitialization} object. 



Definition at line 51 of file he\+\_\+init.\+hpp.



\subsection{Member Function Documentation}
\mbox{\label{classmlpack_1_1ann_1_1HeInitialization_a870af438b91de46ad31a5b64ce97192a}} 
\index{mlpack\+::ann\+::\+He\+Initialization@{mlpack\+::ann\+::\+He\+Initialization}!Initialize@{Initialize}}
\index{Initialize@{Initialize}!mlpack\+::ann\+::\+He\+Initialization@{mlpack\+::ann\+::\+He\+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 He 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 64 of file he\+\_\+init.\+hpp.



Referenced by He\+Initialization\+::\+Initialize().

\mbox{\label{classmlpack_1_1ann_1_1HeInitialization_a3a2ddfeabc7c50f46b22420c573b2d36}} 
\index{mlpack\+::ann\+::\+He\+Initialization@{mlpack\+::ann\+::\+He\+Initialization}!Initialize@{Initialize}}
\index{Initialize@{Initialize}!mlpack\+::ann\+::\+He\+Initialization@{mlpack\+::ann\+::\+He\+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 He 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 slice} & Numbers of slices. \\
\hline
\end{DoxyParams}


Definition at line 90 of file he\+\_\+init.\+hpp.



References He\+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.\+0/src/mlpack/methods/ann/init\+\_\+rules/\textbf{ he\+\_\+init.\+hpp}\end{DoxyCompactItemize}
