\hypertarget{classnntrainer_1_1props_1_1WeightDecay}{}\doxysection{nntrainer\+::props\+::Weight\+Decay Class Reference}
\label{classnntrainer_1_1props_1_1WeightDecay}\index{nntrainer::props::WeightDecay@{nntrainer::props::WeightDecay}}


\mbox{\hyperlink{classnntrainer_1_1props_1_1WeightDecay}{Weight\+Decay}} property, this defines how much to decay the weight.  




{\ttfamily \#include $<$common\+\_\+properties.\+h$>$}



Inheritance diagram for nntrainer\+::props\+::Weight\+Decay\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=262pt]{classnntrainer_1_1props_1_1WeightDecay__inherit__graph}
\end{center}
\end{figure}


Collaboration diagram for nntrainer\+::props\+::Weight\+Decay\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=262pt]{classnntrainer_1_1props_1_1WeightDecay__coll__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classnntrainer_1_1props_1_1WeightDecay_a5d9411397d7ffe5040db767affebf9e7}{Weight\+Decay}} (float \mbox{\hyperlink{namespacenntrainer_a41fadbe61bee85682a61d2251b89f8ccaa7b575b9206729df489556c378b86544}{value}}=0.\+0f)
\begin{DoxyCompactList}\small\item\em Construct a new \mbox{\hyperlink{classnntrainer_1_1props_1_1WeightDecay}{Weight\+Decay}} object. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
static constexpr const char $\ast$ \mbox{\hyperlink{classnntrainer_1_1props_1_1WeightDecay_ae62eb2b98a2e344b134843ea89f6b307}{key}}
\end{DoxyCompactItemize}
\doxysubsection*{Additional Inherited Members}


\doxysubsection{Detailed Description}
\mbox{\hyperlink{classnntrainer_1_1props_1_1WeightDecay}{Weight\+Decay}} property, this defines how much to decay the weight. 



Definition at line 762 of file common\+\_\+properties.\+h.



\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{classnntrainer_1_1props_1_1WeightDecay_a5d9411397d7ffe5040db767affebf9e7}\label{classnntrainer_1_1props_1_1WeightDecay_a5d9411397d7ffe5040db767affebf9e7}} 
\index{nntrainer::props::WeightDecay@{nntrainer::props::WeightDecay}!WeightDecay@{WeightDecay}}
\index{WeightDecay@{WeightDecay}!nntrainer::props::WeightDecay@{nntrainer::props::WeightDecay}}
\doxysubsubsection{\texorpdfstring{WeightDecay()}{WeightDecay()}}
{\footnotesize\ttfamily nntrainer\+::props\+::\+Weight\+Decay\+::\+Weight\+Decay (\begin{DoxyParamCaption}\item[{float}]{value = {\ttfamily 0.0f} }\end{DoxyParamCaption})}



Construct a new \mbox{\hyperlink{classnntrainer_1_1props_1_1WeightDecay}{Weight\+Decay}} object. 



Definition at line 274 of file common\+\_\+properties.\+cpp.



\doxysubsection{Member Data Documentation}
\mbox{\Hypertarget{classnntrainer_1_1props_1_1WeightDecay_ae62eb2b98a2e344b134843ea89f6b307}\label{classnntrainer_1_1props_1_1WeightDecay_ae62eb2b98a2e344b134843ea89f6b307}} 
\index{nntrainer::props::WeightDecay@{nntrainer::props::WeightDecay}!key@{key}}
\index{key@{key}!nntrainer::props::WeightDecay@{nntrainer::props::WeightDecay}}
\doxysubsubsection{\texorpdfstring{key}{key}}
{\footnotesize\ttfamily constexpr const char$\ast$ nntrainer\+::props\+::\+Weight\+Decay\+::key\hspace{0.3cm}{\ttfamily [static]}, {\ttfamily [constexpr]}}

{\bfseries Initial value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{=}
\DoxyCodeLine{    \textcolor{stringliteral}{"weight\_decay"}}

\end{DoxyCode}
unique key to access 

Definition at line 770 of file common\+\_\+properties.\+h.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
layers/\mbox{\hyperlink{common__properties_8h}{common\+\_\+properties.\+h}}\item 
layers/\mbox{\hyperlink{common__properties_8cpp}{common\+\_\+properties.\+cpp}}\end{DoxyCompactItemize}
