\hypertarget{classnntrainer_1_1props_1_1BasicRegularizerConstant}{}\doxysection{nntrainer\+::props\+::Basic\+Regularizer\+Constant Class Reference}
\label{classnntrainer_1_1props_1_1BasicRegularizerConstant}\index{nntrainer::props::BasicRegularizerConstant@{nntrainer::props::BasicRegularizerConstant}}


\mbox{\hyperlink{classnntrainer_1_1props_1_1BasicRegularizerConstant}{Basic\+Regularizer\+Constant}} property, this defines how much regularize the weight.  




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



Inheritance diagram for nntrainer\+::props\+::Basic\+Regularizer\+Constant\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classnntrainer_1_1props_1_1BasicRegularizerConstant__inherit__graph}
\end{center}
\end{figure}


Collaboration diagram for nntrainer\+::props\+::Basic\+Regularizer\+Constant\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=262pt]{classnntrainer_1_1props_1_1BasicRegularizerConstant__coll__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
using \mbox{\hyperlink{classnntrainer_1_1props_1_1BasicRegularizerConstant_acfd6069a1bb104fbb6f1e16c2ee93a76}{prop\+\_\+tag}} = float\+\_\+prop\+\_\+tag
\end{DoxyCompactItemize}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classnntrainer_1_1props_1_1BasicRegularizerConstant_a9d0aa9c513f0d8527f0e9e36226598c3}{Basic\+Regularizer\+Constant}} (float \mbox{\hyperlink{namespacenntrainer_a41fadbe61bee85682a61d2251b89f8ccaa7b575b9206729df489556c378b86544}{value}}=1.\+0f)
\begin{DoxyCompactList}\small\item\em Construct a new \mbox{\hyperlink{classnntrainer_1_1props_1_1BasicRegularizerConstant}{Basic\+Regularizer\+Constant}} object. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{classnntrainer_1_1props_1_1BasicRegularizerConstant_a15f98641c1f3699a8cc411879cd6b58d}{is\+Valid}} (const float \&\mbox{\hyperlink{namespacenntrainer_a41fadbe61bee85682a61d2251b89f8ccaa7b575b9206729df489556c378b86544}{value}}) const override
\begin{DoxyCompactList}\small\item\em check if given value is valid \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
static constexpr const char $\ast$ \mbox{\hyperlink{classnntrainer_1_1props_1_1BasicRegularizerConstant_ac39460af8af034a8a1a6c4ddcacd2768}{key}}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
\mbox{\hyperlink{classnntrainer_1_1props_1_1BasicRegularizerConstant}{Basic\+Regularizer\+Constant}} property, this defines how much regularize the weight. 



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



\doxysubsection{Member Typedef Documentation}
\mbox{\Hypertarget{classnntrainer_1_1props_1_1BasicRegularizerConstant_acfd6069a1bb104fbb6f1e16c2ee93a76}\label{classnntrainer_1_1props_1_1BasicRegularizerConstant_acfd6069a1bb104fbb6f1e16c2ee93a76}} 
\index{nntrainer::props::BasicRegularizerConstant@{nntrainer::props::BasicRegularizerConstant}!prop\_tag@{prop\_tag}}
\index{prop\_tag@{prop\_tag}!nntrainer::props::BasicRegularizerConstant@{nntrainer::props::BasicRegularizerConstant}}
\doxysubsubsection{\texorpdfstring{prop\_tag}{prop\_tag}}
{\footnotesize\ttfamily using \mbox{\hyperlink{classnntrainer_1_1props_1_1BasicRegularizerConstant_acfd6069a1bb104fbb6f1e16c2ee93a76}{nntrainer\+::props\+::\+Basic\+Regularizer\+Constant\+::prop\+\_\+tag}} =  float\+\_\+prop\+\_\+tag}

property type 

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



\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{classnntrainer_1_1props_1_1BasicRegularizerConstant_a9d0aa9c513f0d8527f0e9e36226598c3}\label{classnntrainer_1_1props_1_1BasicRegularizerConstant_a9d0aa9c513f0d8527f0e9e36226598c3}} 
\index{nntrainer::props::BasicRegularizerConstant@{nntrainer::props::BasicRegularizerConstant}!BasicRegularizerConstant@{BasicRegularizerConstant}}
\index{BasicRegularizerConstant@{BasicRegularizerConstant}!nntrainer::props::BasicRegularizerConstant@{nntrainer::props::BasicRegularizerConstant}}
\doxysubsubsection{\texorpdfstring{BasicRegularizerConstant()}{BasicRegularizerConstant()}}
{\footnotesize\ttfamily nntrainer\+::props\+::\+Basic\+Regularizer\+Constant\+::\+Basic\+Regularizer\+Constant (\begin{DoxyParamCaption}\item[{float}]{value = {\ttfamily 1.0f} }\end{DoxyParamCaption})}



Construct a new \mbox{\hyperlink{classnntrainer_1_1props_1_1BasicRegularizerConstant}{Basic\+Regularizer\+Constant}} object. 



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



\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{classnntrainer_1_1props_1_1BasicRegularizerConstant_a15f98641c1f3699a8cc411879cd6b58d}\label{classnntrainer_1_1props_1_1BasicRegularizerConstant_a15f98641c1f3699a8cc411879cd6b58d}} 
\index{nntrainer::props::BasicRegularizerConstant@{nntrainer::props::BasicRegularizerConstant}!isValid@{isValid}}
\index{isValid@{isValid}!nntrainer::props::BasicRegularizerConstant@{nntrainer::props::BasicRegularizerConstant}}
\doxysubsubsection{\texorpdfstring{isValid()}{isValid()}}
{\footnotesize\ttfamily bool nntrainer\+::props\+::\+Basic\+Regularizer\+Constant\+::is\+Valid (\begin{DoxyParamCaption}\item[{const float \&}]{value }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [override]}}



check if given value is valid 


\begin{DoxyParams}{Parameters}
{\em value} & value to check \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
bool true if valid 
\end{DoxyReturn}


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



\doxysubsection{Member Data Documentation}
\mbox{\Hypertarget{classnntrainer_1_1props_1_1BasicRegularizerConstant_ac39460af8af034a8a1a6c4ddcacd2768}\label{classnntrainer_1_1props_1_1BasicRegularizerConstant_ac39460af8af034a8a1a6c4ddcacd2768}} 
\index{nntrainer::props::BasicRegularizerConstant@{nntrainer::props::BasicRegularizerConstant}!key@{key}}
\index{key@{key}!nntrainer::props::BasicRegularizerConstant@{nntrainer::props::BasicRegularizerConstant}}
\doxysubsubsection{\texorpdfstring{key}{key}}
{\footnotesize\ttfamily constexpr const char$\ast$ nntrainer\+::props\+::\+Basic\+Regularizer\+Constant\+::key\hspace{0.3cm}{\ttfamily [static]}, {\ttfamily [constexpr]}}

{\bfseries Initial value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{=}
\DoxyCodeLine{    \textcolor{stringliteral}{"basic\_regularizer\_constant"}}

\end{DoxyCode}
unique key to access 

Definition at line 727 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}
