\hypertarget{classnntrainer_1_1props_1_1NumHeads}{}\doxysection{nntrainer\+::props\+::Num\+Heads Class Reference}
\label{classnntrainer_1_1props_1_1NumHeads}\index{nntrainer::props::NumHeads@{nntrainer::props::NumHeads}}


\mbox{\hyperlink{classnntrainer_1_1props_1_1NumHeads}{Num\+Heads}} property, \mbox{\hyperlink{classnntrainer_1_1props_1_1NumHeads}{Num\+Heads}} is number of head in multi head attention.  




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



Inheritance diagram for nntrainer\+::props\+::Num\+Heads\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=234pt]{classnntrainer_1_1props_1_1NumHeads__inherit__graph}
\end{center}
\end{figure}


Collaboration diagram for nntrainer\+::props\+::Num\+Heads\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=234pt]{classnntrainer_1_1props_1_1NumHeads__coll__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
using \mbox{\hyperlink{classnntrainer_1_1props_1_1NumHeads_a713535b0caf08f1d9fe0be3693bc9501}{prop\+\_\+tag}} = uint\+\_\+prop\+\_\+tag
\end{DoxyCompactItemize}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classnntrainer_1_1props_1_1NumHeads_a06c9444056c4bb74648e4fa637cc800b}{Num\+Heads}} (unsigned int \mbox{\hyperlink{namespacenntrainer_a41fadbe61bee85682a61d2251b89f8ccaa7b575b9206729df489556c378b86544}{value}}=1)
\begin{DoxyCompactList}\small\item\em Construct a new \mbox{\hyperlink{classnntrainer_1_1props_1_1NumHeads}{Num\+Heads}} object with default value 1. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
static constexpr const char $\ast$ \mbox{\hyperlink{classnntrainer_1_1props_1_1NumHeads_a4d74cd3b0c4d12729a547fc15951ed0c}{key}} = \char`\"{}num\+\_\+heads\char`\"{}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
\mbox{\hyperlink{classnntrainer_1_1props_1_1NumHeads}{Num\+Heads}} property, \mbox{\hyperlink{classnntrainer_1_1props_1_1NumHeads}{Num\+Heads}} is number of head in multi head attention. 



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



\doxysubsection{Member Typedef Documentation}
\mbox{\Hypertarget{classnntrainer_1_1props_1_1NumHeads_a713535b0caf08f1d9fe0be3693bc9501}\label{classnntrainer_1_1props_1_1NumHeads_a713535b0caf08f1d9fe0be3693bc9501}} 
\index{nntrainer::props::NumHeads@{nntrainer::props::NumHeads}!prop\_tag@{prop\_tag}}
\index{prop\_tag@{prop\_tag}!nntrainer::props::NumHeads@{nntrainer::props::NumHeads}}
\doxysubsubsection{\texorpdfstring{prop\_tag}{prop\_tag}}
{\footnotesize\ttfamily using \mbox{\hyperlink{classnntrainer_1_1props_1_1NumHeads_a713535b0caf08f1d9fe0be3693bc9501}{nntrainer\+::props\+::\+Num\+Heads\+::prop\+\_\+tag}} =  uint\+\_\+prop\+\_\+tag}

property type 

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



\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{classnntrainer_1_1props_1_1NumHeads_a06c9444056c4bb74648e4fa637cc800b}\label{classnntrainer_1_1props_1_1NumHeads_a06c9444056c4bb74648e4fa637cc800b}} 
\index{nntrainer::props::NumHeads@{nntrainer::props::NumHeads}!NumHeads@{NumHeads}}
\index{NumHeads@{NumHeads}!nntrainer::props::NumHeads@{nntrainer::props::NumHeads}}
\doxysubsubsection{\texorpdfstring{NumHeads()}{NumHeads()}}
{\footnotesize\ttfamily nntrainer\+::props\+::\+Num\+Heads\+::\+Num\+Heads (\begin{DoxyParamCaption}\item[{unsigned int}]{value = {\ttfamily 1} }\end{DoxyParamCaption})}



Construct a new \mbox{\hyperlink{classnntrainer_1_1props_1_1NumHeads}{Num\+Heads}} object with default value 1. 



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



\doxysubsection{Member Data Documentation}
\mbox{\Hypertarget{classnntrainer_1_1props_1_1NumHeads_a4d74cd3b0c4d12729a547fc15951ed0c}\label{classnntrainer_1_1props_1_1NumHeads_a4d74cd3b0c4d12729a547fc15951ed0c}} 
\index{nntrainer::props::NumHeads@{nntrainer::props::NumHeads}!key@{key}}
\index{key@{key}!nntrainer::props::NumHeads@{nntrainer::props::NumHeads}}
\doxysubsubsection{\texorpdfstring{key}{key}}
{\footnotesize\ttfamily constexpr const char$\ast$ nntrainer\+::props\+::\+Num\+Heads\+::key = \char`\"{}num\+\_\+heads\char`\"{}\hspace{0.3cm}{\ttfamily [static]}, {\ttfamily [constexpr]}}

unique key to access 

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