\section{Highway$<$ Input\+Data\+Type, Output\+Data\+Type, Custom\+Layers $>$ Class Template Reference}
\label{classmlpack_1_1ann_1_1Highway}\index{Highway$<$ Input\+Data\+Type, Output\+Data\+Type, Custom\+Layers $>$@{Highway$<$ Input\+Data\+Type, Output\+Data\+Type, Custom\+Layers $>$}}


Implementation of the \doxyref{Highway}{p.}{classmlpack_1_1ann_1_1Highway} layer.  


\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\textbf{ Highway} ()
\begin{DoxyCompactList}\small\item\em Create the \doxyref{Highway}{p.}{classmlpack_1_1ann_1_1Highway} object. \end{DoxyCompactList}\item 
\textbf{ Highway} (const size\+\_\+t in\+Size, const bool model=true)
\begin{DoxyCompactList}\small\item\em Create the \doxyref{Highway}{p.}{classmlpack_1_1ann_1_1Highway} object. \end{DoxyCompactList}\item 
\textbf{ $\sim$\+Highway} ()
\begin{DoxyCompactList}\small\item\em Destroy the \doxyref{Highway}{p.}{classmlpack_1_1ann_1_1Highway} object. \end{DoxyCompactList}\item 
{\footnotesize template$<$class Layer\+Type , class... Args$>$ }\\void \textbf{ Add} (Args... args)
\begin{DoxyCompactList}\small\item\em \doxyref{Add}{p.}{classmlpack_1_1ann_1_1Add} a new module to the model. \end{DoxyCompactList}\item 
void \textbf{ Add} (\textbf{ Layer\+Types}$<$ Custom\+Layers... $>$ layer)
\begin{DoxyCompactList}\small\item\em \doxyref{Add}{p.}{classmlpack_1_1ann_1_1Add} a new module to the model. \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, 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 
{\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 
{\footnotesize template$<$typename eT $>$ }\\void \textbf{ Gradient} (const arma\+::\+Mat$<$ eT $>$ \&input, const arma\+::\+Mat$<$ eT $>$ \&error, arma\+::\+Mat$<$ eT $>$ \&gradient)
\begin{DoxyCompactList}\small\item\em Calculate the gradient using the output delta and the input activation. \end{DoxyCompactList}\item 
Output\+Data\+Type const  \& \textbf{ Gradient} () const
\begin{DoxyCompactList}\small\item\em Get the gradient. \end{DoxyCompactList}\item 
Output\+Data\+Type \& \textbf{ Gradient} ()
\begin{DoxyCompactList}\small\item\em Modify the gradient. \end{DoxyCompactList}\item 
Input\+Data\+Type const  \& \textbf{ Input\+Parameter} () const
\begin{DoxyCompactList}\small\item\em Get the input parameter. \end{DoxyCompactList}\item 
Input\+Data\+Type \& \textbf{ Input\+Parameter} ()
\begin{DoxyCompactList}\small\item\em Modify the input parameter. \end{DoxyCompactList}\item 
size\+\_\+t \textbf{ In\+Size} () const
\begin{DoxyCompactList}\small\item\em Get the number of input units. \end{DoxyCompactList}\item 
std\+::vector$<$ \textbf{ Layer\+Types}$<$ Custom\+Layers... $>$ $>$ \& \textbf{ Model} ()
\begin{DoxyCompactList}\small\item\em Return the modules of the model. \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 
Output\+Data\+Type const  \& \textbf{ Parameters} () const
\begin{DoxyCompactList}\small\item\em Get the parameters. \end{DoxyCompactList}\item 
Output\+Data\+Type \& \textbf{ Parameters} ()
\begin{DoxyCompactList}\small\item\em Modify the parameters. \end{DoxyCompactList}\item 
void \textbf{ Reset} ()
\begin{DoxyCompactList}\small\item\em Reset the layer parameter. \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}\end{DoxyCompactItemize}


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

Implementation of the \doxyref{Highway}{p.}{classmlpack_1_1ann_1_1Highway} layer. 

The \doxyref{Highway}{p.}{classmlpack_1_1ann_1_1Highway} class can vary its behavior between that of feed-\/forward fully connected network container and that of a layer which simply passes its inputs through depending on the transform gate. Note that the size of the input and output matrices of this class should be equal.

For more information, refer the following paper.


\begin{DoxyCode}
@article\{Srivastava2015,
  author  = \{Rupesh Kumar Srivastava, Klaus Greff, Jurgen Schmidhuber\},
  title   = \{Training Very Deep Networks\},
  journal = \{Advances in Neural Information Processing Systems\},
  year    = \{2015\},
  url     = \{https:\textcolor{comment}{//arxiv.org/abs/1507.06228\},}
\}
\end{DoxyCode}



\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 60 of file highway.\+hpp.



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



Create the \doxyref{Highway}{p.}{classmlpack_1_1ann_1_1Highway} object. 

\mbox{\label{classmlpack_1_1ann_1_1Highway_aa7c8a60646f7301a33d9fed85047ef9d}} 
\index{mlpack\+::ann\+::\+Highway@{mlpack\+::ann\+::\+Highway}!Highway@{Highway}}
\index{Highway@{Highway}!mlpack\+::ann\+::\+Highway@{mlpack\+::ann\+::\+Highway}}
\subsubsection{Highway()\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \textbf{ Highway} (\begin{DoxyParamCaption}\item[{const size\+\_\+t}]{in\+Size,  }\item[{const bool}]{model = {\ttfamily true} }\end{DoxyParamCaption})}



Create the \doxyref{Highway}{p.}{classmlpack_1_1ann_1_1Highway} object. 


\begin{DoxyParams}{Parameters}
{\em in\+Size} & The number of input units. \\
\hline
{\em model} & Expose all the network modules. \\
\hline
\end{DoxyParams}
\mbox{\label{classmlpack_1_1ann_1_1Highway_aeb0236003dcc6347c87b2afe09978858}} 
\index{mlpack\+::ann\+::\+Highway@{mlpack\+::ann\+::\+Highway}!````~Highway@{$\sim$\+Highway}}
\index{````~Highway@{$\sim$\+Highway}!mlpack\+::ann\+::\+Highway@{mlpack\+::ann\+::\+Highway}}
\subsubsection{$\sim$\+Highway()}
{\footnotesize\ttfamily $\sim$\textbf{ Highway} (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Destroy the \doxyref{Highway}{p.}{classmlpack_1_1ann_1_1Highway} object. 



\subsection{Member Function Documentation}
\mbox{\label{classmlpack_1_1ann_1_1Highway_a8b5234495846c00f6b2c8296ca6bc718}} 
\index{mlpack\+::ann\+::\+Highway@{mlpack\+::ann\+::\+Highway}!Add@{Add}}
\index{Add@{Add}!mlpack\+::ann\+::\+Highway@{mlpack\+::ann\+::\+Highway}}
\subsubsection{Add()\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily void \textbf{ Add} (\begin{DoxyParamCaption}\item[{Args...}]{args }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



\doxyref{Add}{p.}{classmlpack_1_1ann_1_1Add} a new module to the model. 


\begin{DoxyParams}{Parameters}
{\em args} & The layer parameter. \\
\hline
\end{DoxyParams}


Definition at line 124 of file highway.\+hpp.

\mbox{\label{classmlpack_1_1ann_1_1Highway_a503a807740e6c729be9efc89520db728}} 
\index{mlpack\+::ann\+::\+Highway@{mlpack\+::ann\+::\+Highway}!Add@{Add}}
\index{Add@{Add}!mlpack\+::ann\+::\+Highway@{mlpack\+::ann\+::\+Highway}}
\subsubsection{Add()\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void \textbf{ Add} (\begin{DoxyParamCaption}\item[{\textbf{ Layer\+Types}$<$ Custom\+Layers... $>$}]{layer }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



\doxyref{Add}{p.}{classmlpack_1_1ann_1_1Add} a new module to the model. 


\begin{DoxyParams}{Parameters}
{\em layer} & The Layer to be added to the model. \\
\hline
\end{DoxyParams}


Definition at line 135 of file highway.\+hpp.

\mbox{\label{classmlpack_1_1ann_1_1Highway_ad9ad1a3bdb0f3fff5c839ed155e4bbf8}} 
\index{mlpack\+::ann\+::\+Highway@{mlpack\+::ann\+::\+Highway}!Backward@{Backward}}
\index{Backward@{Backward}!mlpack\+::ann\+::\+Highway@{mlpack\+::ann\+::\+Highway}}
\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, calculating the function f(x) by propagating x backwards through f. 

Using the results from the feed-\/forward pass.


\begin{DoxyParams}{Parameters}
{\em $\ast$} & (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_1Highway_a797f7edb44dd081e5e2b3cc316eef6bd}} 
\index{mlpack\+::ann\+::\+Highway@{mlpack\+::ann\+::\+Highway}!Delta@{Delta}}
\index{Delta@{Delta}!mlpack\+::ann\+::\+Highway@{mlpack\+::ann\+::\+Highway}}
\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 168 of file highway.\+hpp.

\mbox{\label{classmlpack_1_1ann_1_1Highway_ad6601342d560219ce951d554e69e5e87}} 
\index{mlpack\+::ann\+::\+Highway@{mlpack\+::ann\+::\+Highway}!Delta@{Delta}}
\index{Delta@{Delta}!mlpack\+::ann\+::\+Highway@{mlpack\+::ann\+::\+Highway}}
\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 170 of file highway.\+hpp.

\mbox{\label{classmlpack_1_1ann_1_1Highway_a461f849bc638c15bec262dc9c3a58abe}} 
\index{mlpack\+::ann\+::\+Highway@{mlpack\+::ann\+::\+Highway}!Forward@{Forward}}
\index{Forward@{Forward}!mlpack\+::ann\+::\+Highway@{mlpack\+::ann\+::\+Highway}}
\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_1Highway_aaf577db350e2130754490d8486fba215}} 
\index{mlpack\+::ann\+::\+Highway@{mlpack\+::ann\+::\+Highway}!Gradient@{Gradient}}
\index{Gradient@{Gradient}!mlpack\+::ann\+::\+Highway@{mlpack\+::ann\+::\+Highway}}
\subsubsection{Gradient()\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily void Gradient (\begin{DoxyParamCaption}\item[{const arma\+::\+Mat$<$ eT $>$ \&}]{input,  }\item[{const arma\+::\+Mat$<$ eT $>$ \&}]{error,  }\item[{arma\+::\+Mat$<$ eT $>$ \&}]{gradient }\end{DoxyParamCaption})}



Calculate the gradient using the output delta and the input activation. 


\begin{DoxyParams}{Parameters}
{\em input} & The input parameter used for calculating the gradient. \\
\hline
{\em error} & The calculated error. \\
\hline
{\em gradient} & The calculated gradient. \\
\hline
\end{DoxyParams}
\mbox{\label{classmlpack_1_1ann_1_1Highway_a0f1f4e6d93472d83852731a96c8c3f59}} 
\index{mlpack\+::ann\+::\+Highway@{mlpack\+::ann\+::\+Highway}!Gradient@{Gradient}}
\index{Gradient@{Gradient}!mlpack\+::ann\+::\+Highway@{mlpack\+::ann\+::\+Highway}}
\subsubsection{Gradient()\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily Output\+Data\+Type const\& Gradient (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get the gradient. 



Definition at line 173 of file highway.\+hpp.

\mbox{\label{classmlpack_1_1ann_1_1Highway_a19abce4739c3b0b658b612537e21956a}} 
\index{mlpack\+::ann\+::\+Highway@{mlpack\+::ann\+::\+Highway}!Gradient@{Gradient}}
\index{Gradient@{Gradient}!mlpack\+::ann\+::\+Highway@{mlpack\+::ann\+::\+Highway}}
\subsubsection{Gradient()\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily Output\+Data\+Type\& Gradient (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Modify the gradient. 



Definition at line 175 of file highway.\+hpp.

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



Get the input parameter. 



Definition at line 158 of file highway.\+hpp.

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



Modify the input parameter. 



Definition at line 160 of file highway.\+hpp.

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



Get the number of input units. 



Definition at line 178 of file highway.\+hpp.



References Highway$<$ Input\+Data\+Type, Output\+Data\+Type, Custom\+Layers $>$\+::serialize().

\mbox{\label{classmlpack_1_1ann_1_1Highway_a4cb1e93bff99ccf1f8f974065a3b13c3}} 
\index{mlpack\+::ann\+::\+Highway@{mlpack\+::ann\+::\+Highway}!Model@{Model}}
\index{Model@{Model}!mlpack\+::ann\+::\+Highway@{mlpack\+::ann\+::\+Highway}}
\subsubsection{Model()}
{\footnotesize\ttfamily std\+::vector$<$\textbf{ Layer\+Types}$<$Custom\+Layers...$>$ $>$\& Model (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Return the modules of the model. 



Definition at line 142 of file highway.\+hpp.

\mbox{\label{classmlpack_1_1ann_1_1Highway_a0ee21c2a36e5abad1e7a9d5dd00849f9}} 
\index{mlpack\+::ann\+::\+Highway@{mlpack\+::ann\+::\+Highway}!Output\+Parameter@{Output\+Parameter}}
\index{Output\+Parameter@{Output\+Parameter}!mlpack\+::ann\+::\+Highway@{mlpack\+::ann\+::\+Highway}}
\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 163 of file highway.\+hpp.

\mbox{\label{classmlpack_1_1ann_1_1Highway_a21d5f745f02c709625a4ee0907f004a5}} 
\index{mlpack\+::ann\+::\+Highway@{mlpack\+::ann\+::\+Highway}!Output\+Parameter@{Output\+Parameter}}
\index{Output\+Parameter@{Output\+Parameter}!mlpack\+::ann\+::\+Highway@{mlpack\+::ann\+::\+Highway}}
\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 165 of file highway.\+hpp.

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



Get the parameters. 



Definition at line 153 of file highway.\+hpp.

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



Modify the parameters. 



Definition at line 155 of file highway.\+hpp.

\mbox{\label{classmlpack_1_1ann_1_1Highway_a372de693ad40b3f42839c8ec6ac845f4}} 
\index{mlpack\+::ann\+::\+Highway@{mlpack\+::ann\+::\+Highway}!Reset@{Reset}}
\index{Reset@{Reset}!mlpack\+::ann\+::\+Highway@{mlpack\+::ann\+::\+Highway}}
\subsubsection{Reset()}
{\footnotesize\ttfamily void Reset (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Reset the layer parameter. 

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



Serialize the layer. 



Referenced by Highway$<$ Input\+Data\+Type, Output\+Data\+Type, Custom\+Layers $>$\+::\+In\+Size().



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
/var/www/mlpack.\+ratml.\+org/mlpack.\+org/\+\_\+src/mlpack-\/git/src/mlpack/methods/ann/layer/\textbf{ highway.\+hpp}\end{DoxyCompactItemize}
