\hypertarget{structnntrainer_1_1VarGradSpecV2}{}\doxysection{nntrainer\+::Var\+Grad\+Spec\+V2 Struct Reference}
\label{structnntrainer_1_1VarGradSpecV2}\index{nntrainer::VarGradSpecV2@{nntrainer::VarGradSpecV2}}


variable + gradient specification  




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



Collaboration diagram for nntrainer\+::Var\+Grad\+Spec\+V2\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=222pt]{structnntrainer_1_1VarGradSpecV2__coll__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{structnntrainer_1_1VarGradSpecV2_aa671b09098a95f5678036f86d689f649}{Var\+Grad\+Spec\+V2}} ()=default
\begin{DoxyCompactList}\small\item\em Construct a new Var Grad Spec V2 object. \end{DoxyCompactList}\item 
\mbox{\hyperlink{structnntrainer_1_1VarGradSpecV2_af87a742f93f33e11bff132c69bb567fa}{Var\+Grad\+Spec\+V2}} (const \mbox{\hyperlink{structnntrainer_1_1VarGradSpecV2}{Var\+Grad\+Spec\+V2}} \&rhs)
\begin{DoxyCompactList}\small\item\em Copy construct. \end{DoxyCompactList}\item 
\mbox{\hyperlink{structnntrainer_1_1VarGradSpecV2}{Var\+Grad\+Spec\+V2}} \& \mbox{\hyperlink{structnntrainer_1_1VarGradSpecV2_abc70ed2d34d74d3778f0824df8234e40}{operator=}} (const \mbox{\hyperlink{structnntrainer_1_1VarGradSpecV2}{Var\+Grad\+Spec\+V2}} \&rhs)
\begin{DoxyCompactList}\small\item\em copy assignment \end{DoxyCompactList}\item 
\mbox{\hyperlink{structnntrainer_1_1VarGradSpecV2_a3c1f0c98df945be4c5514ac254d1b267}{Var\+Grad\+Spec\+V2}} (\mbox{\hyperlink{structnntrainer_1_1VarGradSpecV2}{Var\+Grad\+Spec\+V2}} \&\&) noexcept=default
\begin{DoxyCompactList}\small\item\em Move Construct. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{structnntrainer_1_1VarGradSpecV2_a43adae3d5729b38751f4dac28ae964b3}\label{structnntrainer_1_1VarGradSpecV2_a43adae3d5729b38751f4dac28ae964b3}} 
\mbox{\hyperlink{structnntrainer_1_1VarGradSpecV2}{Var\+Grad\+Spec\+V2}} \& {\bfseries operator=} (\mbox{\hyperlink{structnntrainer_1_1VarGradSpecV2}{Var\+Grad\+Spec\+V2}} \&\&) noexcept=default
\end{DoxyCompactItemize}
\doxysubsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{structnntrainer_1_1TensorSpecV2}{Tensor\+Spec\+V2}} \mbox{\hyperlink{structnntrainer_1_1VarGradSpecV2_af754fec5aae8ee1218e6f69b553d5037}{variable\+\_\+spec}}
\item 
std\+::unique\+\_\+ptr$<$ \mbox{\hyperlink{structnntrainer_1_1TensorSpecV2}{Tensor\+Spec\+V2}} $>$ \mbox{\hyperlink{structnntrainer_1_1VarGradSpecV2_a9e759030a87f7a2f5e336dcbc3a40dac}{gradient\+\_\+spec}}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
variable + gradient specification 



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



\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{structnntrainer_1_1VarGradSpecV2_aa671b09098a95f5678036f86d689f649}\label{structnntrainer_1_1VarGradSpecV2_aa671b09098a95f5678036f86d689f649}} 
\index{nntrainer::VarGradSpecV2@{nntrainer::VarGradSpecV2}!VarGradSpecV2@{VarGradSpecV2}}
\index{VarGradSpecV2@{VarGradSpecV2}!nntrainer::VarGradSpecV2@{nntrainer::VarGradSpecV2}}
\doxysubsubsection{\texorpdfstring{VarGradSpecV2()}{VarGradSpecV2()}\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily nntrainer\+::\+Var\+Grad\+Spec\+V2\+::\+Var\+Grad\+Spec\+V2 (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [default]}}



Construct a new Var Grad Spec V2 object. 

\mbox{\Hypertarget{structnntrainer_1_1VarGradSpecV2_af87a742f93f33e11bff132c69bb567fa}\label{structnntrainer_1_1VarGradSpecV2_af87a742f93f33e11bff132c69bb567fa}} 
\index{nntrainer::VarGradSpecV2@{nntrainer::VarGradSpecV2}!VarGradSpecV2@{VarGradSpecV2}}
\index{VarGradSpecV2@{VarGradSpecV2}!nntrainer::VarGradSpecV2@{nntrainer::VarGradSpecV2}}
\doxysubsubsection{\texorpdfstring{VarGradSpecV2()}{VarGradSpecV2()}\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily nntrainer\+::\+Var\+Grad\+Spec\+V2\+::\+Var\+Grad\+Spec\+V2 (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{structnntrainer_1_1VarGradSpecV2}{Var\+Grad\+Spec\+V2}} \&}]{rhs }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Copy construct. 


\begin{DoxyParams}{Parameters}
{\em rhs} & \\
\hline
\end{DoxyParams}


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

\mbox{\Hypertarget{structnntrainer_1_1VarGradSpecV2_a3c1f0c98df945be4c5514ac254d1b267}\label{structnntrainer_1_1VarGradSpecV2_a3c1f0c98df945be4c5514ac254d1b267}} 
\index{nntrainer::VarGradSpecV2@{nntrainer::VarGradSpecV2}!VarGradSpecV2@{VarGradSpecV2}}
\index{VarGradSpecV2@{VarGradSpecV2}!nntrainer::VarGradSpecV2@{nntrainer::VarGradSpecV2}}
\doxysubsubsection{\texorpdfstring{VarGradSpecV2()}{VarGradSpecV2()}\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily nntrainer\+::\+Var\+Grad\+Spec\+V2\+::\+Var\+Grad\+Spec\+V2 (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{structnntrainer_1_1VarGradSpecV2}{Var\+Grad\+Spec\+V2}} \&\&}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [default]}, {\ttfamily [noexcept]}}



Move Construct. 



\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{structnntrainer_1_1VarGradSpecV2_abc70ed2d34d74d3778f0824df8234e40}\label{structnntrainer_1_1VarGradSpecV2_abc70ed2d34d74d3778f0824df8234e40}} 
\index{nntrainer::VarGradSpecV2@{nntrainer::VarGradSpecV2}!operator=@{operator=}}
\index{operator=@{operator=}!nntrainer::VarGradSpecV2@{nntrainer::VarGradSpecV2}}
\doxysubsubsection{\texorpdfstring{operator=()}{operator=()}}
{\footnotesize\ttfamily \mbox{\hyperlink{structnntrainer_1_1VarGradSpecV2}{Var\+Grad\+Spec\+V2}}\& nntrainer\+::\+Var\+Grad\+Spec\+V2\+::operator= (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{structnntrainer_1_1VarGradSpecV2}{Var\+Grad\+Spec\+V2}} \&}]{rhs }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



copy assignment 


\begin{DoxyParams}{Parameters}
{\em rhs} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{structnntrainer_1_1VarGradSpecV2}{Var\+Grad\+Spec\+V2}}\& 
\end{DoxyReturn}


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



\doxysubsection{Member Data Documentation}
\mbox{\Hypertarget{structnntrainer_1_1VarGradSpecV2_a9e759030a87f7a2f5e336dcbc3a40dac}\label{structnntrainer_1_1VarGradSpecV2_a9e759030a87f7a2f5e336dcbc3a40dac}} 
\index{nntrainer::VarGradSpecV2@{nntrainer::VarGradSpecV2}!gradient\_spec@{gradient\_spec}}
\index{gradient\_spec@{gradient\_spec}!nntrainer::VarGradSpecV2@{nntrainer::VarGradSpecV2}}
\doxysubsubsection{\texorpdfstring{gradient\_spec}{gradient\_spec}}
{\footnotesize\ttfamily std\+::unique\+\_\+ptr$<$\mbox{\hyperlink{structnntrainer_1_1TensorSpecV2}{Tensor\+Spec\+V2}}$>$ nntrainer\+::\+Var\+Grad\+Spec\+V2\+::gradient\+\_\+spec}

{\bfseries Initial value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{=}
\DoxyCodeLine{    \textcolor{keyword}{nullptr}}

\end{DoxyCode}
gradient spec, if null it cannot be trained 

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

\mbox{\Hypertarget{structnntrainer_1_1VarGradSpecV2_af754fec5aae8ee1218e6f69b553d5037}\label{structnntrainer_1_1VarGradSpecV2_af754fec5aae8ee1218e6f69b553d5037}} 
\index{nntrainer::VarGradSpecV2@{nntrainer::VarGradSpecV2}!variable\_spec@{variable\_spec}}
\index{variable\_spec@{variable\_spec}!nntrainer::VarGradSpecV2@{nntrainer::VarGradSpecV2}}
\doxysubsubsection{\texorpdfstring{variable\_spec}{variable\_spec}}
{\footnotesize\ttfamily \mbox{\hyperlink{structnntrainer_1_1TensorSpecV2}{Tensor\+Spec\+V2}} nntrainer\+::\+Var\+Grad\+Spec\+V2\+::variable\+\_\+spec}

variable spec 

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