\hypertarget{classnntrainer_1_1FlatBufferInterpreter}{}\doxysection{nntrainer\+::Flat\+Buffer\+Interpreter Class Reference}
\label{classnntrainer_1_1FlatBufferInterpreter}\index{nntrainer::FlatBufferInterpreter@{nntrainer::FlatBufferInterpreter}}


flatbuffer graph interpreter class  




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



Inheritance diagram for nntrainer\+::Flat\+Buffer\+Interpreter\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=247pt]{classnntrainer_1_1FlatBufferInterpreter__inherit__graph}
\end{center}
\end{figure}


Collaboration diagram for nntrainer\+::Flat\+Buffer\+Interpreter\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=247pt]{classnntrainer_1_1FlatBufferInterpreter__coll__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classnntrainer_1_1FlatBufferInterpreter_a6c5b9cbb6a85d2d766c7ad8a0f5badd9}{Flat\+Buffer\+Interpreter}} (\mbox{\hyperlink{classnntrainer_1_1AppContext}{App\+Context}} \&app\+\_\+context\+\_\+=\mbox{\hyperlink{classnntrainer_1_1AppContext_a692d7f2657598782884be3b78957ccd3}{App\+Context\+::\+Global}}())
\begin{DoxyCompactList}\small\item\em Construct a new flatbuffer Graph Interpreter object. \end{DoxyCompactList}\item 
virtual \mbox{\hyperlink{classnntrainer_1_1FlatBufferInterpreter_a02d2c45892015937fa3761ba4c4aae29}{$\sim$\+Flat\+Buffer\+Interpreter}} ()=default
\begin{DoxyCompactList}\small\item\em Destroy the flatbuffer Interpreter object. \end{DoxyCompactList}\item 
void \mbox{\hyperlink{classnntrainer_1_1FlatBufferInterpreter_a14bc8a279e0623be98ce363af87ecff4}{serialize}} (const Graph\+Representation \&representation, const std\+::string \&out) override
\item 
Graph\+Representation \mbox{\hyperlink{classnntrainer_1_1FlatBufferInterpreter_abfb696c24f2f14e8977d9f5e3119760f}{deserialize}} (const std\+::string \&in) override
\begin{DoxyCompactList}\small\item\em deserialize graph from a stream \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
flatbuffer graph interpreter class 



Definition at line 25 of file flatbuffer\+\_\+interpreter.\+h.



\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{classnntrainer_1_1FlatBufferInterpreter_a6c5b9cbb6a85d2d766c7ad8a0f5badd9}\label{classnntrainer_1_1FlatBufferInterpreter_a6c5b9cbb6a85d2d766c7ad8a0f5badd9}} 
\index{nntrainer::FlatBufferInterpreter@{nntrainer::FlatBufferInterpreter}!FlatBufferInterpreter@{FlatBufferInterpreter}}
\index{FlatBufferInterpreter@{FlatBufferInterpreter}!nntrainer::FlatBufferInterpreter@{nntrainer::FlatBufferInterpreter}}
\doxysubsubsection{\texorpdfstring{FlatBufferInterpreter()}{FlatBufferInterpreter()}}
{\footnotesize\ttfamily nntrainer\+::\+Flat\+Buffer\+Interpreter\+::\+Flat\+Buffer\+Interpreter (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classnntrainer_1_1AppContext}{App\+Context}} \&}]{app\+\_\+context\+\_\+ = {\ttfamily \mbox{\hyperlink{classnntrainer_1_1AppContext_a692d7f2657598782884be3b78957ccd3}{App\+Context\+::\+Global}}()} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Construct a new flatbuffer Graph Interpreter object. 


\begin{DoxyParams}{Parameters}
{\em app\+\_\+context\+\_\+} & app context to create layers \\
\hline
\end{DoxyParams}


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

\mbox{\Hypertarget{classnntrainer_1_1FlatBufferInterpreter_a02d2c45892015937fa3761ba4c4aae29}\label{classnntrainer_1_1FlatBufferInterpreter_a02d2c45892015937fa3761ba4c4aae29}} 
\index{nntrainer::FlatBufferInterpreter@{nntrainer::FlatBufferInterpreter}!````~FlatBufferInterpreter@{$\sim$FlatBufferInterpreter}}
\index{````~FlatBufferInterpreter@{$\sim$FlatBufferInterpreter}!nntrainer::FlatBufferInterpreter@{nntrainer::FlatBufferInterpreter}}
\doxysubsubsection{\texorpdfstring{$\sim$FlatBufferInterpreter()}{~FlatBufferInterpreter()}}
{\footnotesize\ttfamily virtual nntrainer\+::\+Flat\+Buffer\+Interpreter\+::$\sim$\+Flat\+Buffer\+Interpreter (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [virtual]}, {\ttfamily [default]}}



Destroy the flatbuffer Interpreter object. 



\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{classnntrainer_1_1FlatBufferInterpreter_abfb696c24f2f14e8977d9f5e3119760f}\label{classnntrainer_1_1FlatBufferInterpreter_abfb696c24f2f14e8977d9f5e3119760f}} 
\index{nntrainer::FlatBufferInterpreter@{nntrainer::FlatBufferInterpreter}!deserialize@{deserialize}}
\index{deserialize@{deserialize}!nntrainer::FlatBufferInterpreter@{nntrainer::FlatBufferInterpreter}}
\doxysubsubsection{\texorpdfstring{deserialize()}{deserialize()}}
{\footnotesize\ttfamily Graph\+Representation nntrainer\+::\+Flat\+Buffer\+Interpreter\+::deserialize (\begin{DoxyParamCaption}\item[{const std\+::string \&}]{in }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [override]}, {\ttfamily [virtual]}}



deserialize graph from a stream 


\begin{DoxyParams}{Parameters}
{\em in} & input file name \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Graph\+Representation graph representation 
\end{DoxyReturn}


Implements \mbox{\hyperlink{classnntrainer_1_1GraphInterpreter_ac2a13529652a7b35f74fbf2f6977db08}{nntrainer\+::\+Graph\+Interpreter}}.

\mbox{\Hypertarget{classnntrainer_1_1FlatBufferInterpreter_a14bc8a279e0623be98ce363af87ecff4}\label{classnntrainer_1_1FlatBufferInterpreter_a14bc8a279e0623be98ce363af87ecff4}} 
\index{nntrainer::FlatBufferInterpreter@{nntrainer::FlatBufferInterpreter}!serialize@{serialize}}
\index{serialize@{serialize}!nntrainer::FlatBufferInterpreter@{nntrainer::FlatBufferInterpreter}}
\doxysubsubsection{\texorpdfstring{serialize()}{serialize()}}
{\footnotesize\ttfamily void nntrainer\+::\+Flat\+Buffer\+Interpreter\+::serialize (\begin{DoxyParamCaption}\item[{const Graph\+Representation \&}]{representation,  }\item[{const std\+::string \&}]{out }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [override]}, {\ttfamily [virtual]}}







Implements \mbox{\hyperlink{classnntrainer_1_1GraphInterpreter_a04881010be46c66cbe9f87114ecb60fb}{nntrainer\+::\+Graph\+Interpreter}}.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
compiler/\mbox{\hyperlink{flatbuffer__interpreter_8h}{flatbuffer\+\_\+interpreter.\+h}}\end{DoxyCompactItemize}
