\hypertarget{classnntrainer_1_1FlatBufferOpNode}{}\doxysection{nntrainer\+::Flat\+Buffer\+Op\+Node Class Reference}
\label{classnntrainer_1_1FlatBufferOpNode}\index{nntrainer::FlatBufferOpNode@{nntrainer::FlatBufferOpNode}}


\mbox{\hyperlink{classnntrainer_1_1FlatBufferOpNode}{Flat\+Buffer\+Op\+Node}} class.  




{\ttfamily \#include $<$flatbuffer\+\_\+opnode.\+h$>$}

\doxysubsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classnntrainer_1_1FlatBufferOpNode_a5cbd2c9cb25dfd271ccde4d5b9b42a53}\label{classnntrainer_1_1FlatBufferOpNode_a5cbd2c9cb25dfd271ccde4d5b9b42a53}} 
using {\bfseries Variables} = std\+::vector$<$ const Tensor $\ast$ $>$
\end{DoxyCompactItemize}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classnntrainer_1_1FlatBufferOpNode_a9d6812d964a28329132d16023ccafee2}{Flat\+Buffer\+Op\+Node}} ()
\begin{DoxyCompactList}\small\item\em Construct a new Flat Buffer \mbox{\hyperlink{classOp}{Op}} Node object. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{classnntrainer_1_1FlatBufferOpNode_a8224f9f204fe8558fc64188a7be8e169}{set\+Layer\+Node}} (const \mbox{\hyperlink{classnntrainer_1_1LayerNode}{Layer\+Node}} \&layer)
\begin{DoxyCompactList}\small\item\em Set the \mbox{\hyperlink{classLayer}{Layer}} Node object. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{classnntrainer_1_1FlatBufferOpNode_ab21082d4013ce27b3e00abd8afd2256d}{set\+Op\+Type}} (nntr\+::\+Builtin\+Operator op\+\_\+type\+\_\+)
\begin{DoxyCompactList}\small\item\em Set the \mbox{\hyperlink{classOp}{Op}} Type object. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{classnntrainer_1_1FlatBufferOpNode_a1ee22539d8014f12e5806a8fa3a68b86}{set\+Builtin\+Options}} (nntr\+::\+Builtin\+Options builtin\+\_\+option\+\_\+type\+\_\+, const flatbuffers\+::\+Offset$<$ void $>$ \&builtin\+\_\+ops\+\_\+)
\begin{DoxyCompactList}\small\item\em Set the Builtin Options object. \end{DoxyCompactList}\item 
Variables \& \mbox{\hyperlink{classnntrainer_1_1FlatBufferOpNode_abfc547172708f6318a95057c8f006f76}{get\+Inputs}} ()
\begin{DoxyCompactList}\small\item\em Get the Inputs object. \end{DoxyCompactList}\item 
const Variables \& \mbox{\hyperlink{classnntrainer_1_1FlatBufferOpNode_a0183e2954d6239f22cf1391c3cfa45f2}{get\+Inputs}} () const
\begin{DoxyCompactList}\small\item\em Get the Inputs object. \end{DoxyCompactList}\item 
Variables \& \mbox{\hyperlink{classnntrainer_1_1FlatBufferOpNode_a7650bd464cc9477ded46a3d65a43d0f3}{get\+Weights}} ()
\begin{DoxyCompactList}\small\item\em Get the Weights object. \end{DoxyCompactList}\item 
const Variables \& \mbox{\hyperlink{classnntrainer_1_1FlatBufferOpNode_a1557cde4366bea2c6b6a4b80dcaea7e6}{get\+Weights}} () const
\begin{DoxyCompactList}\small\item\em Get the Weights object. \end{DoxyCompactList}\item 
Variables \& \mbox{\hyperlink{classnntrainer_1_1FlatBufferOpNode_aab850cb8e2d690ef7afab5debab7e087}{get\+Outputs}} ()
\begin{DoxyCompactList}\small\item\em Get the Outputs object. \end{DoxyCompactList}\item 
const Variables \& \mbox{\hyperlink{classnntrainer_1_1FlatBufferOpNode_a8b3bb883c9dd74ad1075b633e47607dd}{get\+Outputs}} () const
\begin{DoxyCompactList}\small\item\em Get the Outputs object. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{classnntrainer_1_1FlatBufferOpNode_a1e3a3b4223f8559149ebfc6e6c790e14}{is\+Input\+Node}} () const
\begin{DoxyCompactList}\small\item\em check if the node is model input \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{classnntrainer_1_1FlatBufferOpNode_a68eb5b48ae9003b4b64825829682f31b}{is\+Output\+Node}} () const
\begin{DoxyCompactList}\small\item\em check if the node is model output \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{classnntrainer_1_1FlatBufferOpNode_aa3892042992b00ddaf7c7ee8dee07a1f}{is\+Virtual\+Node}} () const
\begin{DoxyCompactList}\small\item\em check if the node is virtual node \end{DoxyCompactList}\item 
const nntr\+::\+Builtin\+Operator \mbox{\hyperlink{classnntrainer_1_1FlatBufferOpNode_a6b7d083a0c9c1c6201e67cb2fba85ac5}{get\+Op\+Type}} () const
\begin{DoxyCompactList}\small\item\em Get the \mbox{\hyperlink{classOp}{Op}} Type object. \end{DoxyCompactList}\item 
const nntr\+::\+Builtin\+Options \mbox{\hyperlink{classnntrainer_1_1FlatBufferOpNode_adb0e933cb33de152ecf41dcfc5e9f195}{get\+Option\+Type}} () const
\begin{DoxyCompactList}\small\item\em Get the Option Type object. \end{DoxyCompactList}\item 
flatbuffers\+::\+Offset$<$ void $>$ \mbox{\hyperlink{classnntrainer_1_1FlatBufferOpNode_aa008c24bfaf244df058d58d5da86b29b}{get\+Builtin\+Ops}} () const
\begin{DoxyCompactList}\small\item\em Get the Builtin Ops object. \end{DoxyCompactList}\item 
const std\+::vector$<$ \mbox{\hyperlink{classnntrainer_1_1FlatBufferOpNode}{Flat\+Buffer\+Op\+Node}} $\ast$ $>$ \& \mbox{\hyperlink{classnntrainer_1_1FlatBufferOpNode_ab5785583fa10c2349ae9e7fc27b5bd30}{get\+Input\+Nodes}} () const
\begin{DoxyCompactList}\small\item\em Get the Input Nodes object. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{classnntrainer_1_1FlatBufferOpNode_a73c55152caeb952dab26f419687402f2}{arity}} (size\+\_\+t \mbox{\hyperlink{namespacenntrainer_a41fadbe61bee85682a61d2251b89f8ccaa7b575b9206729df489556c378b86544}{value}})
\begin{DoxyCompactList}\small\item\em Set arity. \end{DoxyCompactList}\item 
const unsigned \mbox{\hyperlink{classnntrainer_1_1FlatBufferOpNode_a0e31c3333c95720dac4de8845a2fc3bd}{arity}} () const
\begin{DoxyCompactList}\small\item\em Get arity. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{classnntrainer_1_1FlatBufferOpNode_a41a41c1fe160a9aa5ef86e7cc5881cf8}{set\+Arg}} (size\+\_\+t index, \mbox{\hyperlink{classnntrainer_1_1FlatBufferOpNode}{Flat\+Buffer\+Op\+Node}} $\ast$node)
\begin{DoxyCompactList}\small\item\em Set the Arg object. \end{DoxyCompactList}\item 
\mbox{\hyperlink{classnntrainer_1_1FlatBufferOpNode}{Flat\+Buffer\+Op\+Node}} $\ast$ \mbox{\hyperlink{classnntrainer_1_1FlatBufferOpNode_ace6b05788c5c9e7a37d1df11853b340c}{arg}} (size\+\_\+t index) const
\begin{DoxyCompactList}\small\item\em Get the Arg object. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
\mbox{\hyperlink{classnntrainer_1_1FlatBufferOpNode}{Flat\+Buffer\+Op\+Node}} class. 



Definition at line 32 of file flatbuffer\+\_\+opnode.\+h.



\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{classnntrainer_1_1FlatBufferOpNode_a9d6812d964a28329132d16023ccafee2}\label{classnntrainer_1_1FlatBufferOpNode_a9d6812d964a28329132d16023ccafee2}} 
\index{nntrainer::FlatBufferOpNode@{nntrainer::FlatBufferOpNode}!FlatBufferOpNode@{FlatBufferOpNode}}
\index{FlatBufferOpNode@{FlatBufferOpNode}!nntrainer::FlatBufferOpNode@{nntrainer::FlatBufferOpNode}}
\doxysubsubsection{\texorpdfstring{FlatBufferOpNode()}{FlatBufferOpNode()}}
{\footnotesize\ttfamily nntrainer\+::\+Flat\+Buffer\+Op\+Node\+::\+Flat\+Buffer\+Op\+Node (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Construct a new Flat Buffer \mbox{\hyperlink{classOp}{Op}} Node object. 



Definition at line 21 of file flatbuffer\+\_\+opnode.\+cpp.



\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{classnntrainer_1_1FlatBufferOpNode_ace6b05788c5c9e7a37d1df11853b340c}\label{classnntrainer_1_1FlatBufferOpNode_ace6b05788c5c9e7a37d1df11853b340c}} 
\index{nntrainer::FlatBufferOpNode@{nntrainer::FlatBufferOpNode}!arg@{arg}}
\index{arg@{arg}!nntrainer::FlatBufferOpNode@{nntrainer::FlatBufferOpNode}}
\doxysubsubsection{\texorpdfstring{arg()}{arg()}}
{\footnotesize\ttfamily \mbox{\hyperlink{classnntrainer_1_1FlatBufferOpNode}{Flat\+Buffer\+Op\+Node}}$\ast$ nntrainer\+::\+Flat\+Buffer\+Op\+Node\+::arg (\begin{DoxyParamCaption}\item[{size\+\_\+t}]{index }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get the Arg object. 


\begin{DoxyParams}{Parameters}
{\em index} & argument index to get \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
\mbox{\hyperlink{classnntrainer_1_1FlatBufferOpNode}{Flat\+Buffer\+Op\+Node}} $\ast$input\+\_\+nodes.at(index) 
\end{DoxyReturn}


Definition at line 194 of file flatbuffer\+\_\+opnode.\+h.

\mbox{\Hypertarget{classnntrainer_1_1FlatBufferOpNode_a0e31c3333c95720dac4de8845a2fc3bd}\label{classnntrainer_1_1FlatBufferOpNode_a0e31c3333c95720dac4de8845a2fc3bd}} 
\index{nntrainer::FlatBufferOpNode@{nntrainer::FlatBufferOpNode}!arity@{arity}}
\index{arity@{arity}!nntrainer::FlatBufferOpNode@{nntrainer::FlatBufferOpNode}}
\doxysubsubsection{\texorpdfstring{arity()}{arity()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily const unsigned nntrainer\+::\+Flat\+Buffer\+Op\+Node\+::arity (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get arity. 

\begin{DoxyReturn}{Returns}
const unsigned input\+\_\+nodes size 
\end{DoxyReturn}


Definition at line 176 of file flatbuffer\+\_\+opnode.\+h.

\mbox{\Hypertarget{classnntrainer_1_1FlatBufferOpNode_a73c55152caeb952dab26f419687402f2}\label{classnntrainer_1_1FlatBufferOpNode_a73c55152caeb952dab26f419687402f2}} 
\index{nntrainer::FlatBufferOpNode@{nntrainer::FlatBufferOpNode}!arity@{arity}}
\index{arity@{arity}!nntrainer::FlatBufferOpNode@{nntrainer::FlatBufferOpNode}}
\doxysubsubsection{\texorpdfstring{arity()}{arity()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily void nntrainer\+::\+Flat\+Buffer\+Op\+Node\+::arity (\begin{DoxyParamCaption}\item[{size\+\_\+t}]{value }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Set arity. 


\begin{DoxyParams}{Parameters}
{\em value} & value to set \\
\hline
\end{DoxyParams}


Definition at line 169 of file flatbuffer\+\_\+opnode.\+h.

\mbox{\Hypertarget{classnntrainer_1_1FlatBufferOpNode_aa008c24bfaf244df058d58d5da86b29b}\label{classnntrainer_1_1FlatBufferOpNode_aa008c24bfaf244df058d58d5da86b29b}} 
\index{nntrainer::FlatBufferOpNode@{nntrainer::FlatBufferOpNode}!getBuiltinOps@{getBuiltinOps}}
\index{getBuiltinOps@{getBuiltinOps}!nntrainer::FlatBufferOpNode@{nntrainer::FlatBufferOpNode}}
\doxysubsubsection{\texorpdfstring{getBuiltinOps()}{getBuiltinOps()}}
{\footnotesize\ttfamily flatbuffers\+::\+Offset$<$ void $>$ nntrainer\+::\+Flat\+Buffer\+Op\+Node\+::get\+Builtin\+Ops (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const}



Get the Builtin Ops object. 


\begin{DoxyParams}{Parameters}
{\em f} & Flatbuffer builder\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
flatbuffers\+::\+Offset$<$void$>$ 
\end{DoxyReturn}


Definition at line 72 of file flatbuffer\+\_\+opnode.\+cpp.

\mbox{\Hypertarget{classnntrainer_1_1FlatBufferOpNode_ab5785583fa10c2349ae9e7fc27b5bd30}\label{classnntrainer_1_1FlatBufferOpNode_ab5785583fa10c2349ae9e7fc27b5bd30}} 
\index{nntrainer::FlatBufferOpNode@{nntrainer::FlatBufferOpNode}!getInputNodes@{getInputNodes}}
\index{getInputNodes@{getInputNodes}!nntrainer::FlatBufferOpNode@{nntrainer::FlatBufferOpNode}}
\doxysubsubsection{\texorpdfstring{getInputNodes()}{getInputNodes()}}
{\footnotesize\ttfamily const std\+::vector$<$\mbox{\hyperlink{classnntrainer_1_1FlatBufferOpNode}{Flat\+Buffer\+Op\+Node}} $\ast$$>$\& nntrainer\+::\+Flat\+Buffer\+Op\+Node\+::get\+Input\+Nodes (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get the Input Nodes object. 

\begin{DoxyReturn}{Returns}
const std\+::vector$<$\+Flat\+Buffer\+Op\+Node $\ast$$>$ \&input\+\_\+nodes 
\end{DoxyReturn}


Definition at line 160 of file flatbuffer\+\_\+opnode.\+h.

\mbox{\Hypertarget{classnntrainer_1_1FlatBufferOpNode_abfc547172708f6318a95057c8f006f76}\label{classnntrainer_1_1FlatBufferOpNode_abfc547172708f6318a95057c8f006f76}} 
\index{nntrainer::FlatBufferOpNode@{nntrainer::FlatBufferOpNode}!getInputs@{getInputs}}
\index{getInputs@{getInputs}!nntrainer::FlatBufferOpNode@{nntrainer::FlatBufferOpNode}}
\doxysubsubsection{\texorpdfstring{getInputs()}{getInputs()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily Variables\& nntrainer\+::\+Flat\+Buffer\+Op\+Node\+::get\+Inputs (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Get the Inputs object. 

\begin{DoxyReturn}{Returns}
Variables\& inputs 
\end{DoxyReturn}


Definition at line 70 of file flatbuffer\+\_\+opnode.\+h.

\mbox{\Hypertarget{classnntrainer_1_1FlatBufferOpNode_a0183e2954d6239f22cf1391c3cfa45f2}\label{classnntrainer_1_1FlatBufferOpNode_a0183e2954d6239f22cf1391c3cfa45f2}} 
\index{nntrainer::FlatBufferOpNode@{nntrainer::FlatBufferOpNode}!getInputs@{getInputs}}
\index{getInputs@{getInputs}!nntrainer::FlatBufferOpNode@{nntrainer::FlatBufferOpNode}}
\doxysubsubsection{\texorpdfstring{getInputs()}{getInputs()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily const Variables\& nntrainer\+::\+Flat\+Buffer\+Op\+Node\+::get\+Inputs (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get the Inputs object. 

\begin{DoxyReturn}{Returns}
const Variables\& inputs 
\end{DoxyReturn}


Definition at line 77 of file flatbuffer\+\_\+opnode.\+h.

\mbox{\Hypertarget{classnntrainer_1_1FlatBufferOpNode_adb0e933cb33de152ecf41dcfc5e9f195}\label{classnntrainer_1_1FlatBufferOpNode_adb0e933cb33de152ecf41dcfc5e9f195}} 
\index{nntrainer::FlatBufferOpNode@{nntrainer::FlatBufferOpNode}!getOptionType@{getOptionType}}
\index{getOptionType@{getOptionType}!nntrainer::FlatBufferOpNode@{nntrainer::FlatBufferOpNode}}
\doxysubsubsection{\texorpdfstring{getOptionType()}{getOptionType()}}
{\footnotesize\ttfamily const nntr\+::\+Builtin\+Options nntrainer\+::\+Flat\+Buffer\+Op\+Node\+::get\+Option\+Type (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get the Option Type object. 

\begin{DoxyReturn}{Returns}
const nntr\+::\+Builtin\+Options 
\end{DoxyReturn}


Definition at line 143 of file flatbuffer\+\_\+opnode.\+h.

\mbox{\Hypertarget{classnntrainer_1_1FlatBufferOpNode_a6b7d083a0c9c1c6201e67cb2fba85ac5}\label{classnntrainer_1_1FlatBufferOpNode_a6b7d083a0c9c1c6201e67cb2fba85ac5}} 
\index{nntrainer::FlatBufferOpNode@{nntrainer::FlatBufferOpNode}!getOpType@{getOpType}}
\index{getOpType@{getOpType}!nntrainer::FlatBufferOpNode@{nntrainer::FlatBufferOpNode}}
\doxysubsubsection{\texorpdfstring{getOpType()}{getOpType()}}
{\footnotesize\ttfamily const nntr\+::\+Builtin\+Operator nntrainer\+::\+Flat\+Buffer\+Op\+Node\+::get\+Op\+Type (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get the \mbox{\hyperlink{classOp}{Op}} Type object. 

\begin{DoxyReturn}{Returns}
const nntr\+::\+Builtin\+Operator 
\end{DoxyReturn}


Definition at line 136 of file flatbuffer\+\_\+opnode.\+h.

\mbox{\Hypertarget{classnntrainer_1_1FlatBufferOpNode_aab850cb8e2d690ef7afab5debab7e087}\label{classnntrainer_1_1FlatBufferOpNode_aab850cb8e2d690ef7afab5debab7e087}} 
\index{nntrainer::FlatBufferOpNode@{nntrainer::FlatBufferOpNode}!getOutputs@{getOutputs}}
\index{getOutputs@{getOutputs}!nntrainer::FlatBufferOpNode@{nntrainer::FlatBufferOpNode}}
\doxysubsubsection{\texorpdfstring{getOutputs()}{getOutputs()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily Variables\& nntrainer\+::\+Flat\+Buffer\+Op\+Node\+::get\+Outputs (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Get the Outputs object. 

\begin{DoxyReturn}{Returns}
Variables\& outputs 
\end{DoxyReturn}


Definition at line 98 of file flatbuffer\+\_\+opnode.\+h.

\mbox{\Hypertarget{classnntrainer_1_1FlatBufferOpNode_a8b3bb883c9dd74ad1075b633e47607dd}\label{classnntrainer_1_1FlatBufferOpNode_a8b3bb883c9dd74ad1075b633e47607dd}} 
\index{nntrainer::FlatBufferOpNode@{nntrainer::FlatBufferOpNode}!getOutputs@{getOutputs}}
\index{getOutputs@{getOutputs}!nntrainer::FlatBufferOpNode@{nntrainer::FlatBufferOpNode}}
\doxysubsubsection{\texorpdfstring{getOutputs()}{getOutputs()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily const Variables\& nntrainer\+::\+Flat\+Buffer\+Op\+Node\+::get\+Outputs (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get the Outputs object. 

\begin{DoxyReturn}{Returns}
const Variables\& outputs 
\end{DoxyReturn}


Definition at line 105 of file flatbuffer\+\_\+opnode.\+h.

\mbox{\Hypertarget{classnntrainer_1_1FlatBufferOpNode_a7650bd464cc9477ded46a3d65a43d0f3}\label{classnntrainer_1_1FlatBufferOpNode_a7650bd464cc9477ded46a3d65a43d0f3}} 
\index{nntrainer::FlatBufferOpNode@{nntrainer::FlatBufferOpNode}!getWeights@{getWeights}}
\index{getWeights@{getWeights}!nntrainer::FlatBufferOpNode@{nntrainer::FlatBufferOpNode}}
\doxysubsubsection{\texorpdfstring{getWeights()}{getWeights()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily Variables\& nntrainer\+::\+Flat\+Buffer\+Op\+Node\+::get\+Weights (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Get the Weights object. 

\begin{DoxyReturn}{Returns}
Variables\& weights 
\end{DoxyReturn}


Definition at line 84 of file flatbuffer\+\_\+opnode.\+h.

\mbox{\Hypertarget{classnntrainer_1_1FlatBufferOpNode_a1557cde4366bea2c6b6a4b80dcaea7e6}\label{classnntrainer_1_1FlatBufferOpNode_a1557cde4366bea2c6b6a4b80dcaea7e6}} 
\index{nntrainer::FlatBufferOpNode@{nntrainer::FlatBufferOpNode}!getWeights@{getWeights}}
\index{getWeights@{getWeights}!nntrainer::FlatBufferOpNode@{nntrainer::FlatBufferOpNode}}
\doxysubsubsection{\texorpdfstring{getWeights()}{getWeights()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily const Variables\& nntrainer\+::\+Flat\+Buffer\+Op\+Node\+::get\+Weights (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get the Weights object. 

\begin{DoxyReturn}{Returns}
const Variables\& weights 
\end{DoxyReturn}


Definition at line 91 of file flatbuffer\+\_\+opnode.\+h.

\mbox{\Hypertarget{classnntrainer_1_1FlatBufferOpNode_a1e3a3b4223f8559149ebfc6e6c790e14}\label{classnntrainer_1_1FlatBufferOpNode_a1e3a3b4223f8559149ebfc6e6c790e14}} 
\index{nntrainer::FlatBufferOpNode@{nntrainer::FlatBufferOpNode}!isInputNode@{isInputNode}}
\index{isInputNode@{isInputNode}!nntrainer::FlatBufferOpNode@{nntrainer::FlatBufferOpNode}}
\doxysubsubsection{\texorpdfstring{isInputNode()}{isInputNode()}}
{\footnotesize\ttfamily bool nntrainer\+::\+Flat\+Buffer\+Op\+Node\+::is\+Input\+Node (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



check if the node is model input 

\begin{DoxyReturn}{Returns}
true if op node is model input 

false if op node is not model input 
\end{DoxyReturn}


Definition at line 113 of file flatbuffer\+\_\+opnode.\+h.

\mbox{\Hypertarget{classnntrainer_1_1FlatBufferOpNode_a68eb5b48ae9003b4b64825829682f31b}\label{classnntrainer_1_1FlatBufferOpNode_a68eb5b48ae9003b4b64825829682f31b}} 
\index{nntrainer::FlatBufferOpNode@{nntrainer::FlatBufferOpNode}!isOutputNode@{isOutputNode}}
\index{isOutputNode@{isOutputNode}!nntrainer::FlatBufferOpNode@{nntrainer::FlatBufferOpNode}}
\doxysubsubsection{\texorpdfstring{isOutputNode()}{isOutputNode()}}
{\footnotesize\ttfamily bool nntrainer\+::\+Flat\+Buffer\+Op\+Node\+::is\+Output\+Node (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



check if the node is model output 

\begin{DoxyReturn}{Returns}
true if op node is model output 

false if op node is not model output 
\end{DoxyReturn}


Definition at line 121 of file flatbuffer\+\_\+opnode.\+h.

\mbox{\Hypertarget{classnntrainer_1_1FlatBufferOpNode_aa3892042992b00ddaf7c7ee8dee07a1f}\label{classnntrainer_1_1FlatBufferOpNode_aa3892042992b00ddaf7c7ee8dee07a1f}} 
\index{nntrainer::FlatBufferOpNode@{nntrainer::FlatBufferOpNode}!isVirtualNode@{isVirtualNode}}
\index{isVirtualNode@{isVirtualNode}!nntrainer::FlatBufferOpNode@{nntrainer::FlatBufferOpNode}}
\doxysubsubsection{\texorpdfstring{isVirtualNode()}{isVirtualNode()}}
{\footnotesize\ttfamily bool nntrainer\+::\+Flat\+Buffer\+Op\+Node\+::is\+Virtual\+Node (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



check if the node is virtual node 

\begin{DoxyReturn}{Returns}
true if this op node is virtual node 

false if this op node is not virtual node 
\end{DoxyReturn}


Definition at line 129 of file flatbuffer\+\_\+opnode.\+h.

\mbox{\Hypertarget{classnntrainer_1_1FlatBufferOpNode_a41a41c1fe160a9aa5ef86e7cc5881cf8}\label{classnntrainer_1_1FlatBufferOpNode_a41a41c1fe160a9aa5ef86e7cc5881cf8}} 
\index{nntrainer::FlatBufferOpNode@{nntrainer::FlatBufferOpNode}!setArg@{setArg}}
\index{setArg@{setArg}!nntrainer::FlatBufferOpNode@{nntrainer::FlatBufferOpNode}}
\doxysubsubsection{\texorpdfstring{setArg()}{setArg()}}
{\footnotesize\ttfamily void nntrainer\+::\+Flat\+Buffer\+Op\+Node\+::set\+Arg (\begin{DoxyParamCaption}\item[{size\+\_\+t}]{index,  }\item[{\mbox{\hyperlink{classnntrainer_1_1FlatBufferOpNode}{Flat\+Buffer\+Op\+Node}} $\ast$}]{node }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Set the Arg object. 


\begin{DoxyParams}{Parameters}
{\em index} & argument index to set \\
\hline
{\em node} & the node to be argument \\
\hline
\end{DoxyParams}


Definition at line 184 of file flatbuffer\+\_\+opnode.\+h.

\mbox{\Hypertarget{classnntrainer_1_1FlatBufferOpNode_a1ee22539d8014f12e5806a8fa3a68b86}\label{classnntrainer_1_1FlatBufferOpNode_a1ee22539d8014f12e5806a8fa3a68b86}} 
\index{nntrainer::FlatBufferOpNode@{nntrainer::FlatBufferOpNode}!setBuiltinOptions@{setBuiltinOptions}}
\index{setBuiltinOptions@{setBuiltinOptions}!nntrainer::FlatBufferOpNode@{nntrainer::FlatBufferOpNode}}
\doxysubsubsection{\texorpdfstring{setBuiltinOptions()}{setBuiltinOptions()}}
{\footnotesize\ttfamily void nntrainer\+::\+Flat\+Buffer\+Op\+Node\+::set\+Builtin\+Options (\begin{DoxyParamCaption}\item[{nntr\+::\+Builtin\+Options}]{builtin\+\_\+option\+\_\+type\+\_\+,  }\item[{const flatbuffers\+::\+Offset$<$ void $>$ \&}]{builtin\+\_\+ops\+\_\+ }\end{DoxyParamCaption})}



Set the Builtin Options object. 


\begin{DoxyParams}{Parameters}
{\em builtin\+\_\+option\+\_\+type\+\_\+} & builtin option type \\
\hline
{\em builtin\+\_\+ops\+\_\+} & flatbuffer offset of builtin ops \\
\hline
\end{DoxyParams}


Definition at line 82 of file flatbuffer\+\_\+opnode.\+cpp.

\mbox{\Hypertarget{classnntrainer_1_1FlatBufferOpNode_a8224f9f204fe8558fc64188a7be8e169}\label{classnntrainer_1_1FlatBufferOpNode_a8224f9f204fe8558fc64188a7be8e169}} 
\index{nntrainer::FlatBufferOpNode@{nntrainer::FlatBufferOpNode}!setLayerNode@{setLayerNode}}
\index{setLayerNode@{setLayerNode}!nntrainer::FlatBufferOpNode@{nntrainer::FlatBufferOpNode}}
\doxysubsubsection{\texorpdfstring{setLayerNode()}{setLayerNode()}}
{\footnotesize\ttfamily void nntrainer\+::\+Flat\+Buffer\+Op\+Node\+::set\+Layer\+Node (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classnntrainer_1_1LayerNode}{Layer\+Node}} \&}]{layer }\end{DoxyParamCaption})}



Set the \mbox{\hyperlink{classLayer}{Layer}} Node object. 


\begin{DoxyParams}{Parameters}
{\em layer} & layer node \\
\hline
\end{DoxyParams}
\begin{DoxyRefDesc}{Todo}
\item[\mbox{\hyperlink{todo__todo000002}{Todo}}]Now support only mse, cross \end{DoxyRefDesc}


Definition at line 28 of file flatbuffer\+\_\+opnode.\+cpp.

Here is the call graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classnntrainer_1_1FlatBufferOpNode_a8224f9f204fe8558fc64188a7be8e169_cgraph}
\end{center}
\end{figure}
\mbox{\Hypertarget{classnntrainer_1_1FlatBufferOpNode_ab21082d4013ce27b3e00abd8afd2256d}\label{classnntrainer_1_1FlatBufferOpNode_ab21082d4013ce27b3e00abd8afd2256d}} 
\index{nntrainer::FlatBufferOpNode@{nntrainer::FlatBufferOpNode}!setOpType@{setOpType}}
\index{setOpType@{setOpType}!nntrainer::FlatBufferOpNode@{nntrainer::FlatBufferOpNode}}
\doxysubsubsection{\texorpdfstring{setOpType()}{setOpType()}}
{\footnotesize\ttfamily void nntrainer\+::\+Flat\+Buffer\+Op\+Node\+::set\+Op\+Type (\begin{DoxyParamCaption}\item[{nntr\+::\+Builtin\+Operator}]{op\+\_\+type\+\_\+ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Set the \mbox{\hyperlink{classOp}{Op}} Type object. 


\begin{DoxyParams}{Parameters}
{\em op\+\_\+type\+\_\+} & \\
\hline
\end{DoxyParams}


Definition at line 54 of file flatbuffer\+\_\+opnode.\+h.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
compiler/\mbox{\hyperlink{flatbuffer__opnode_8h}{flatbuffer\+\_\+opnode.\+h}}\item 
compiler/flatbuffer\+\_\+opnode.\+cpp\end{DoxyCompactItemize}
