<filename>Docs/doxygen_output/latex/d3/d71/structmarian_1_1SqrtNodeOp.tex
\hypertarget{structmarian_1_1SqrtNodeOp}{}\section{marian\+:\+:Sqrt\+Node\+Op Struct Reference}
\label{structmarian_1_1SqrtNodeOp}\index{marian\+::\+Sqrt\+Node\+Op@{marian\+::\+Sqrt\+Node\+Op}}


{\ttfamily \#include $<$node\+\_\+operators\+\_\+unary.\+h$>$}



Inheritance diagram for marian\+:\+:Sqrt\+Node\+Op\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=550pt]{de/d85/structmarian_1_1SqrtNodeOp__inherit__graph}
\end{center}
\end{figure}


Collaboration diagram for marian\+:\+:Sqrt\+Node\+Op\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{dc/db7/structmarian_1_1SqrtNodeOp__coll__graph}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\footnotesize template$<$typename... Args$>$ }\\\hyperlink{structmarian_1_1SqrtNodeOp_a1f7c8597145f1ae6e43e8a7fe3570a83}{Sqrt\+Node\+Op} (\hyperlink{namespacemarian_a498d8baf75b754011078b890b39c8e12}{Expr} a, float epsilon, Args...\+args)
\item 
\hyperlink{namespacemarian_a4956376218cc236016c20bc4071470da}{Node\+Ops} \hyperlink{structmarian_1_1SqrtNodeOp_aeefdf4eab958bdab2b4f8a70dcbc6c15}{forward\+Ops} ()
\item 
\hyperlink{namespacemarian_a4956376218cc236016c20bc4071470da}{Node\+Ops} \hyperlink{structmarian_1_1SqrtNodeOp_adeeaeffd66c0f516cc43b2f84b2a3240}{backward\+Ops} ()
\item 
const std\+::string \hyperlink{structmarian_1_1SqrtNodeOp_affe5bea1a901dd7b1a22dc0b974690cb}{type} ()
\item 
virtual size\+\_\+t \hyperlink{structmarian_1_1SqrtNodeOp_a83836f4ce180733221a17b5af8e2db58}{hash} ()
\end{DoxyCompactItemize}
\subsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
float \hyperlink{structmarian_1_1SqrtNodeOp_a208345df36afd03a7536ad751127ac89}{epsilon\+\_\+}
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Detailed Description}


Definition at line 360 of file node\+\_\+operators\+\_\+unary.\+h.



\subsection{Constructor \& Destructor Documentation}
\index{marian\+::\+Sqrt\+Node\+Op@{marian\+::\+Sqrt\+Node\+Op}!Sqrt\+Node\+Op@{Sqrt\+Node\+Op}}
\index{Sqrt\+Node\+Op@{Sqrt\+Node\+Op}!marian\+::\+Sqrt\+Node\+Op@{marian\+::\+Sqrt\+Node\+Op}}
\subsubsection[{\texorpdfstring{Sqrt\+Node\+Op(\+Expr a, float epsilon, Args...\+args)}{SqrtNodeOp(Expr a, float epsilon, Args...args)}}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename... Args$>$ marian\+::\+Sqrt\+Node\+Op\+::\+Sqrt\+Node\+Op (
\begin{DoxyParamCaption}
\item[{{\bf Expr}}]{a, }
\item[{float}]{epsilon, }
\item[{Args...}]{args}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\hypertarget{structmarian_1_1SqrtNodeOp_a1f7c8597145f1ae6e43e8a7fe3570a83}{}\label{structmarian_1_1SqrtNodeOp_a1f7c8597145f1ae6e43e8a7fe3570a83}


Definition at line 364 of file node\+\_\+operators\+\_\+unary.\+h.


\begin{DoxyCode}
365       : \hyperlink{structmarian_1_1UnaryNodeOp_af4481274a5a2cf72328c7cdffeb5f571}{UnaryNodeOp}(a, args...), \hyperlink{structmarian_1_1SqrtNodeOp_a208345df36afd03a7536ad751127ac89}{epsilon\_}(epsilon) \{\}
\end{DoxyCode}


\subsection{Member Function Documentation}
\index{marian\+::\+Sqrt\+Node\+Op@{marian\+::\+Sqrt\+Node\+Op}!backward\+Ops@{backward\+Ops}}
\index{backward\+Ops@{backward\+Ops}!marian\+::\+Sqrt\+Node\+Op@{marian\+::\+Sqrt\+Node\+Op}}
\subsubsection[{\texorpdfstring{backward\+Ops()}{backwardOps()}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Node\+Ops} marian\+::\+Sqrt\+Node\+Op\+::backward\+Ops (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}\hypertarget{structmarian_1_1SqrtNodeOp_adeeaeffd66c0f516cc43b2f84b2a3240}{}\label{structmarian_1_1SqrtNodeOp_adeeaeffd66c0f516cc43b2f84b2a3240}


Reimplemented from \hyperlink{classmarian_1_1Node_a783915262a9d7af81372c8f0a8363beb}{marian\+::\+Node}.



Definition at line 371 of file node\+\_\+operators\+\_\+unary.\+h.


\begin{DoxyCode}
371                         \{
372     \textcolor{keywordflow}{return} \{\hyperlink{definitions_8h_a48f5ac3fc4e5043f1ebfed786912842c}{NodeOp}(\hyperlink{namespacemarian_a0ee0e667d3fcfdc776e4dddaffeea6e2}{Add}(0.5f * (1.f / \_1) * \_2, \hyperlink{classmarian_1_1Node_a71a9c8ad6ba12d421fa97222d74a90b9}{child}(0)->\hyperlink{classmarian_1_1Node_a0497d2c3515385212b1086f8b8502826}{grad}(), 
      \hyperlink{classmarian_1_1Node_ab64614c39ead91341c3d485dd0817cab}{val\_}, \hyperlink{classmarian_1_1Node_a13a0badd98010fdd2536cb5d055ade5a}{adj\_}))\};
373   \}
\end{DoxyCode}


Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d3/d71/structmarian_1_1SqrtNodeOp_adeeaeffd66c0f516cc43b2f84b2a3240_cgraph}
\end{center}
\end{figure}


\index{marian\+::\+Sqrt\+Node\+Op@{marian\+::\+Sqrt\+Node\+Op}!forward\+Ops@{forward\+Ops}}
\index{forward\+Ops@{forward\+Ops}!marian\+::\+Sqrt\+Node\+Op@{marian\+::\+Sqrt\+Node\+Op}}
\subsubsection[{\texorpdfstring{forward\+Ops()}{forwardOps()}}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Node\+Ops} marian\+::\+Sqrt\+Node\+Op\+::forward\+Ops (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}\hypertarget{structmarian_1_1SqrtNodeOp_aeefdf4eab958bdab2b4f8a70dcbc6c15}{}\label{structmarian_1_1SqrtNodeOp_aeefdf4eab958bdab2b4f8a70dcbc6c15}


Reimplemented from \hyperlink{classmarian_1_1Node_a13a2bc9bdc100205606bbd01acecb659}{marian\+::\+Node}.



Definition at line 367 of file node\+\_\+operators\+\_\+unary.\+h.


\begin{DoxyCode}
367                        \{
368     \textcolor{keywordflow}{return} \{\hyperlink{definitions_8h_a48f5ac3fc4e5043f1ebfed786912842c}{NodeOp}(\hyperlink{namespacemarian_af90a9ca647f95f9d9d18ac8901c55fb1}{Element}(\_1 = \hyperlink{namespacethrust_1_1detail_1_1functional_a4312d4fbc25873ae875a6986a86cef23}{Sqrt}(\_2 + \hyperlink{structmarian_1_1SqrtNodeOp_a208345df36afd03a7536ad751127ac89}{epsilon\_}), 
      \hyperlink{classmarian_1_1Node_ab64614c39ead91341c3d485dd0817cab}{val\_}, \hyperlink{classmarian_1_1Node_a71a9c8ad6ba12d421fa97222d74a90b9}{child}(0)->\hyperlink{classmarian_1_1Node_a0df86f2ff4a169111d6ba0865e6fd935}{val}()))\};
369   \}
\end{DoxyCode}


Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d3/d71/structmarian_1_1SqrtNodeOp_aeefdf4eab958bdab2b4f8a70dcbc6c15_cgraph}
\end{center}
\end{figure}


\index{marian\+::\+Sqrt\+Node\+Op@{marian\+::\+Sqrt\+Node\+Op}!hash@{hash}}
\index{hash@{hash}!marian\+::\+Sqrt\+Node\+Op@{marian\+::\+Sqrt\+Node\+Op}}
\subsubsection[{\texorpdfstring{hash()}{hash()}}]{\setlength{\rightskip}{0pt plus 5cm}virtual size\+\_\+t marian\+::\+Sqrt\+Node\+Op\+::hash (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}\hypertarget{structmarian_1_1SqrtNodeOp_a83836f4ce180733221a17b5af8e2db58}{}\label{structmarian_1_1SqrtNodeOp_a83836f4ce180733221a17b5af8e2db58}


Reimplemented from \hyperlink{structmarian_1_1NaryNodeOp_ab1b6a692080382203afe5ceaf0c4279d}{marian\+::\+Nary\+Node\+Op}.



Definition at line 377 of file node\+\_\+operators\+\_\+unary.\+h.


\begin{DoxyCode}
377                         \{
378     \textcolor{keywordflow}{if}(!\hyperlink{structmarian_1_1NaryNodeOp_a12df8e3c447151b8169926de5076ae7c}{hash\_}) \{
379       \textcolor{keywordtype}{size\_t} seed = \hyperlink{structmarian_1_1NaryNodeOp_ab1b6a692080382203afe5ceaf0c4279d}{NaryNodeOp::hash}();
380       \hyperlink{bpe_8h_a04cc1b733a2f4d205f13f7a59facba64}{boost::hash\_combine}(seed, \hyperlink{structmarian_1_1SqrtNodeOp_a208345df36afd03a7536ad751127ac89}{epsilon\_});
381       \hyperlink{structmarian_1_1NaryNodeOp_a12df8e3c447151b8169926de5076ae7c}{hash\_} = seed;
382     \}
383     \textcolor{keywordflow}{return} \hyperlink{structmarian_1_1NaryNodeOp_a12df8e3c447151b8169926de5076ae7c}{hash\_};
384   \}
\end{DoxyCode}


Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{d3/d71/structmarian_1_1SqrtNodeOp_a83836f4ce180733221a17b5af8e2db58_cgraph}
\end{center}
\end{figure}


\index{marian\+::\+Sqrt\+Node\+Op@{marian\+::\+Sqrt\+Node\+Op}!type@{type}}
\index{type@{type}!marian\+::\+Sqrt\+Node\+Op@{marian\+::\+Sqrt\+Node\+Op}}
\subsubsection[{\texorpdfstring{type()}{type()}}]{\setlength{\rightskip}{0pt plus 5cm}const std\+::string marian\+::\+Sqrt\+Node\+Op\+::type (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}\hypertarget{structmarian_1_1SqrtNodeOp_affe5bea1a901dd7b1a22dc0b974690cb}{}\label{structmarian_1_1SqrtNodeOp_affe5bea1a901dd7b1a22dc0b974690cb}


Implements \hyperlink{classmarian_1_1Chainable_a2b7a5cbdac7a7d3bd7d781a6ff148fc3}{marian\+::\+Chainable$<$ Tensor $>$}.



Definition at line 375 of file node\+\_\+operators\+\_\+unary.\+h.


\begin{DoxyCode}
375 \{ \textcolor{keywordflow}{return} \textcolor{stringliteral}{"sqrt"}; \}
\end{DoxyCode}


\subsection{Member Data Documentation}
\index{marian\+::\+Sqrt\+Node\+Op@{marian\+::\+Sqrt\+Node\+Op}!epsilon\+\_\+@{epsilon\+\_\+}}
\index{epsilon\+\_\+@{epsilon\+\_\+}!marian\+::\+Sqrt\+Node\+Op@{marian\+::\+Sqrt\+Node\+Op}}
\subsubsection[{\texorpdfstring{epsilon\+\_\+}{epsilon_}}]{\setlength{\rightskip}{0pt plus 5cm}float marian\+::\+Sqrt\+Node\+Op\+::epsilon\+\_\+}\hypertarget{structmarian_1_1SqrtNodeOp_a208345df36afd03a7536ad751127ac89}{}\label{structmarian_1_1SqrtNodeOp_a208345df36afd03a7536ad751127ac89}


Definition at line 361 of file node\+\_\+operators\+\_\+unary.\+h.



The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\hyperlink{node__operators__unary_8h}{node\+\_\+operators\+\_\+unary.\+h}\end{DoxyCompactItemize}
