\hypertarget{structnntrainer_1_1WeightSpecV2}{}\doxysection{nntrainer\+::Weight\+Spec\+V2 Struct Reference}
\label{structnntrainer_1_1WeightSpecV2}\index{nntrainer::WeightSpecV2@{nntrainer::WeightSpecV2}}


weight specification  




{\ttfamily \#include $<$tensor\+\_\+wrap\+\_\+specs.\+h$>$}



Collaboration diagram for nntrainer\+::Weight\+Spec\+V2\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=222pt]{structnntrainer_1_1WeightSpecV2__coll__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{structnntrainer_1_1VarGradSpecV2}{Var\+Grad\+Spec\+V2}} \mbox{\hyperlink{structnntrainer_1_1WeightSpecV2_a56727cfe88ad8c3799f88ff43f7f99d6}{vg\+\_\+spec}}
\item 
\mbox{\hyperlink{namespacenntrainer_a9b456193e005bc14834eb1ecc03a7d58}{Weight\+Regularizer}} \mbox{\hyperlink{structnntrainer_1_1WeightSpecV2_a090855ef7dee5fa34f6582411b7705c1}{regularizer}} = \mbox{\hyperlink{namespacenntrainer_a9b456193e005bc14834eb1ecc03a7d58ab50339a10e1de285ac99d4c3990b8693}{Weight\+Regularizer\+::\+N\+O\+NE}}
\item 
float \mbox{\hyperlink{structnntrainer_1_1WeightSpecV2_a66327ddd990cd9f3bc778d374b5d3457}{regularizer\+\_\+constant}} = 0.\+0f
\item 
float \mbox{\hyperlink{structnntrainer_1_1WeightSpecV2_a49c968fe929b0e1d796a9a21c1e1b9a5}{decay}} = 0.\+0f
\item 
float \mbox{\hyperlink{structnntrainer_1_1WeightSpecV2_ae10d559dced6f53d5ab55a05778026bb}{clip\+\_\+by\+\_\+global\+\_\+norm}} = 0.\+0f
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
weight specification 



Definition at line 192 of file tensor\+\_\+wrap\+\_\+specs.\+h.



\doxysubsection{Member Data Documentation}
\mbox{\Hypertarget{structnntrainer_1_1WeightSpecV2_ae10d559dced6f53d5ab55a05778026bb}\label{structnntrainer_1_1WeightSpecV2_ae10d559dced6f53d5ab55a05778026bb}} 
\index{nntrainer::WeightSpecV2@{nntrainer::WeightSpecV2}!clip\_by\_global\_norm@{clip\_by\_global\_norm}}
\index{clip\_by\_global\_norm@{clip\_by\_global\_norm}!nntrainer::WeightSpecV2@{nntrainer::WeightSpecV2}}
\doxysubsubsection{\texorpdfstring{clip\_by\_global\_norm}{clip\_by\_global\_norm}}
{\footnotesize\ttfamily float nntrainer\+::\+Weight\+Spec\+V2\+::clip\+\_\+by\+\_\+global\+\_\+norm = 0.\+0f}

clip the gradient by norm 

Definition at line 197 of file tensor\+\_\+wrap\+\_\+specs.\+h.

\mbox{\Hypertarget{structnntrainer_1_1WeightSpecV2_a49c968fe929b0e1d796a9a21c1e1b9a5}\label{structnntrainer_1_1WeightSpecV2_a49c968fe929b0e1d796a9a21c1e1b9a5}} 
\index{nntrainer::WeightSpecV2@{nntrainer::WeightSpecV2}!decay@{decay}}
\index{decay@{decay}!nntrainer::WeightSpecV2@{nntrainer::WeightSpecV2}}
\doxysubsubsection{\texorpdfstring{decay}{decay}}
{\footnotesize\ttfamily float nntrainer\+::\+Weight\+Spec\+V2\+::decay = 0.\+0f}

decay constant 

Definition at line 196 of file tensor\+\_\+wrap\+\_\+specs.\+h.

\mbox{\Hypertarget{structnntrainer_1_1WeightSpecV2_a090855ef7dee5fa34f6582411b7705c1}\label{structnntrainer_1_1WeightSpecV2_a090855ef7dee5fa34f6582411b7705c1}} 
\index{nntrainer::WeightSpecV2@{nntrainer::WeightSpecV2}!regularizer@{regularizer}}
\index{regularizer@{regularizer}!nntrainer::WeightSpecV2@{nntrainer::WeightSpecV2}}
\doxysubsubsection{\texorpdfstring{regularizer}{regularizer}}
{\footnotesize\ttfamily \mbox{\hyperlink{namespacenntrainer_a9b456193e005bc14834eb1ecc03a7d58}{Weight\+Regularizer}} nntrainer\+::\+Weight\+Spec\+V2\+::regularizer = \mbox{\hyperlink{namespacenntrainer_a9b456193e005bc14834eb1ecc03a7d58ab50339a10e1de285ac99d4c3990b8693}{Weight\+Regularizer\+::\+N\+O\+NE}}}

regularizer 

Definition at line 194 of file tensor\+\_\+wrap\+\_\+specs.\+h.

\mbox{\Hypertarget{structnntrainer_1_1WeightSpecV2_a66327ddd990cd9f3bc778d374b5d3457}\label{structnntrainer_1_1WeightSpecV2_a66327ddd990cd9f3bc778d374b5d3457}} 
\index{nntrainer::WeightSpecV2@{nntrainer::WeightSpecV2}!regularizer\_constant@{regularizer\_constant}}
\index{regularizer\_constant@{regularizer\_constant}!nntrainer::WeightSpecV2@{nntrainer::WeightSpecV2}}
\doxysubsubsection{\texorpdfstring{regularizer\_constant}{regularizer\_constant}}
{\footnotesize\ttfamily float nntrainer\+::\+Weight\+Spec\+V2\+::regularizer\+\_\+constant = 0.\+0f}

regularizer constant 

Definition at line 195 of file tensor\+\_\+wrap\+\_\+specs.\+h.

\mbox{\Hypertarget{structnntrainer_1_1WeightSpecV2_a56727cfe88ad8c3799f88ff43f7f99d6}\label{structnntrainer_1_1WeightSpecV2_a56727cfe88ad8c3799f88ff43f7f99d6}} 
\index{nntrainer::WeightSpecV2@{nntrainer::WeightSpecV2}!vg\_spec@{vg\_spec}}
\index{vg\_spec@{vg\_spec}!nntrainer::WeightSpecV2@{nntrainer::WeightSpecV2}}
\doxysubsubsection{\texorpdfstring{vg\_spec}{vg\_spec}}
{\footnotesize\ttfamily \mbox{\hyperlink{structnntrainer_1_1VarGradSpecV2}{Var\+Grad\+Spec\+V2}} nntrainer\+::\+Weight\+Spec\+V2\+::vg\+\_\+spec}

variable + graident specification 

Definition at line 193 of file tensor\+\_\+wrap\+\_\+specs.\+h.



The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
tensor/\mbox{\hyperlink{tensor__wrap__specs_8h}{tensor\+\_\+wrap\+\_\+specs.\+h}}\end{DoxyCompactItemize}
