\hypertarget{classnntrainer_1_1props_1_1ReturnAttentionWeight}{}\doxysection{nntrainer\+::props\+::Return\+Attention\+Weight Class Reference}
\label{classnntrainer_1_1props_1_1ReturnAttentionWeight}\index{nntrainer::props::ReturnAttentionWeight@{nntrainer::props::ReturnAttentionWeight}}


\mbox{\hyperlink{classnntrainer_1_1props_1_1ReturnAttentionWeight}{Return\+Attention\+Weight}}, return attention weight.  




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



Inheritance diagram for nntrainer\+::props\+::Return\+Attention\+Weight\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=254pt]{classnntrainer_1_1props_1_1ReturnAttentionWeight__inherit__graph}
\end{center}
\end{figure}


Collaboration diagram for nntrainer\+::props\+::Return\+Attention\+Weight\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=254pt]{classnntrainer_1_1props_1_1ReturnAttentionWeight__coll__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
using \mbox{\hyperlink{classnntrainer_1_1props_1_1ReturnAttentionWeight_a44a96693379463269f41cc3f6ea12f04}{prop\+\_\+tag}} = enum\+\_\+class\+\_\+prop\+\_\+tag
\end{DoxyCompactItemize}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classnntrainer_1_1props_1_1ReturnAttentionWeight_aa3ef968eec438102f9ec2ef15f59a323}{Return\+Attention\+Weight}} (Return\+Attention\+Weight\+Info\+::\+Enum \mbox{\hyperlink{namespacenntrainer_a41fadbe61bee85682a61d2251b89f8ccaa7b575b9206729df489556c378b86544}{value}}=Return\+Attention\+Weight\+Info\+::\+Enum\+::none)
\begin{DoxyCompactList}\small\item\em Construct a new \mbox{\hyperlink{classnntrainer_1_1props_1_1ReturnAttentionWeight}{Return\+Attention\+Weight}} object. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
static constexpr const char $\ast$ \mbox{\hyperlink{classnntrainer_1_1props_1_1ReturnAttentionWeight_afa22ed2e7647f8b7e3bce0b8125a7f9d}{key}}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
\mbox{\hyperlink{classnntrainer_1_1props_1_1ReturnAttentionWeight}{Return\+Attention\+Weight}}, return attention weight. 

\char`\"{}none\char`\"{} won\textquotesingle{}t return attention weight. \char`\"{}before\char`\"{}/\char`\"{}after\char`\"{} will return attention weight before/after applying dropout \begin{DoxyNote}{Note}
Correspond with return\+\_\+attention\+\_\+scores of tensorflow and Correspond with need\+\_\+weights of torch 
\end{DoxyNote}


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



\doxysubsection{Member Typedef Documentation}
\mbox{\Hypertarget{classnntrainer_1_1props_1_1ReturnAttentionWeight_a44a96693379463269f41cc3f6ea12f04}\label{classnntrainer_1_1props_1_1ReturnAttentionWeight_a44a96693379463269f41cc3f6ea12f04}} 
\index{nntrainer::props::ReturnAttentionWeight@{nntrainer::props::ReturnAttentionWeight}!prop\_tag@{prop\_tag}}
\index{prop\_tag@{prop\_tag}!nntrainer::props::ReturnAttentionWeight@{nntrainer::props::ReturnAttentionWeight}}
\doxysubsubsection{\texorpdfstring{prop\_tag}{prop\_tag}}
{\footnotesize\ttfamily using \mbox{\hyperlink{classnntrainer_1_1props_1_1ReturnAttentionWeight_a44a96693379463269f41cc3f6ea12f04}{nntrainer\+::props\+::\+Return\+Attention\+Weight\+::prop\+\_\+tag}} =  enum\+\_\+class\+\_\+prop\+\_\+tag}

property type 

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



\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{classnntrainer_1_1props_1_1ReturnAttentionWeight_aa3ef968eec438102f9ec2ef15f59a323}\label{classnntrainer_1_1props_1_1ReturnAttentionWeight_aa3ef968eec438102f9ec2ef15f59a323}} 
\index{nntrainer::props::ReturnAttentionWeight@{nntrainer::props::ReturnAttentionWeight}!ReturnAttentionWeight@{ReturnAttentionWeight}}
\index{ReturnAttentionWeight@{ReturnAttentionWeight}!nntrainer::props::ReturnAttentionWeight@{nntrainer::props::ReturnAttentionWeight}}
\doxysubsubsection{\texorpdfstring{ReturnAttentionWeight()}{ReturnAttentionWeight()}}
{\footnotesize\ttfamily nntrainer\+::props\+::\+Return\+Attention\+Weight\+::\+Return\+Attention\+Weight (\begin{DoxyParamCaption}\item[{Return\+Attention\+Weight\+Info\+::\+Enum}]{value = {\ttfamily ReturnAttentionWeightInfo\+:\+:Enum\+:\+:none} }\end{DoxyParamCaption})}



Construct a new \mbox{\hyperlink{classnntrainer_1_1props_1_1ReturnAttentionWeight}{Return\+Attention\+Weight}} object. 



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



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

{\bfseries Initial value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{=}
\DoxyCodeLine{    \textcolor{stringliteral}{"return\_attention\_weight"}}

\end{DoxyCode}
unique key to access 

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