\hypertarget{model__loader_8cpp}{}\doxysection{models/model\+\_\+loader.cpp File Reference}
\label{model__loader_8cpp}\index{models/model\_loader.cpp@{models/model\_loader.cpp}}


This is model loader class for the Neural Network.  


{\ttfamily \#include $<$sstream$>$}\newline
{\ttfamily \#include $<$adam.\+h$>$}\newline
{\ttfamily \#include $<$databuffer\+\_\+factory.\+h$>$}\newline
{\ttfamily \#include $<$ini\+\_\+interpreter.\+h$>$}\newline
{\ttfamily \#include $<$model\+\_\+loader.\+h$>$}\newline
{\ttfamily \#include $<$neuralnet.\+h$>$}\newline
{\ttfamily \#include $<$nntrainer\+\_\+error.\+h$>$}\newline
{\ttfamily \#include $<$nntrainer\+\_\+log.\+h$>$}\newline
{\ttfamily \#include $<$optimizer\+\_\+wrapped.\+h$>$}\newline
{\ttfamily \#include $<$time\+\_\+dist.\+h$>$}\newline
{\ttfamily \#include $<$util\+\_\+func.\+h$>$}\newline
Include dependency graph for model\+\_\+loader.\+cpp\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{model__loader_8cpp__incl}
\end{center}
\end{figure}
\doxysubsection*{Namespaces}
\begin{DoxyCompactItemize}
\item 
 \mbox{\hyperlink{namespacenntrainer}{nntrainer}}
\end{DoxyCompactItemize}
\doxysubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define {\bfseries N\+N\+\_\+\+I\+N\+I\+\_\+\+R\+E\+T\+U\+R\+N\+\_\+\+S\+T\+A\+T\+US}()
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
This is model loader class for the Neural Network. 

Copyright (C) 2020 Parichay Kapoor \href{mailto:pk.kapoor@samsung.com}{\texttt{ pk.\+kapoor@samsung.\+com}}

\begin{DoxyDate}{Date}
5 August 2020 
\end{DoxyDate}
\begin{DoxySeeAlso}{See also}
\href{https://github.com/nnstreamer/nntrainer}{\texttt{ https\+://github.\+com/nnstreamer/nntrainer}} 
\end{DoxySeeAlso}
\begin{DoxyAuthor}{Author}
Jijoong Moon \href{mailto:jijoong.moon@samsung.com}{\texttt{ jijoong.\+moon@samsung.\+com}} 

Parichay Kapoor \href{mailto:pk.kapoor@samsung.com}{\texttt{ pk.\+kapoor@samsung.\+com}} 
\end{DoxyAuthor}
\begin{DoxyRefDesc}{Bug}
\item[\mbox{\hyperlink{bug__bug000169}{Bug}}]No known bugs except for N\+YI items\end{DoxyRefDesc}


\doxysubsection{Macro Definition Documentation}
\mbox{\Hypertarget{model__loader_8cpp_aa3be0509f1ec86b08dd852f947db9135}\label{model__loader_8cpp_aa3be0509f1ec86b08dd852f947db9135}} 
\index{model\_loader.cpp@{model\_loader.cpp}!NN\_INI\_RETURN\_STATUS@{NN\_INI\_RETURN\_STATUS}}
\index{NN\_INI\_RETURN\_STATUS@{NN\_INI\_RETURN\_STATUS}!model\_loader.cpp@{model\_loader.cpp}}
\doxysubsubsection{\texorpdfstring{NN\_INI\_RETURN\_STATUS}{NN\_INI\_RETURN\_STATUS}}
{\footnotesize\ttfamily \#define N\+N\+\_\+\+I\+N\+I\+\_\+\+R\+E\+T\+U\+R\+N\+\_\+\+S\+T\+A\+T\+US(\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{  \textcolor{keywordflow}{do} \{                             \(\backslash\)}
\DoxyCodeLine{    if (status != \mbox{\hyperlink{nntrainer__error_8h_afa8aa7b8ee0794aff8dcd3029525fc93a1d5fc7f826e7a67851245a3f27b7d0a7}{ML\_ERROR\_NONE}}) \{ \(\backslash\)}
\DoxyCodeLine{      iniparser\_freedict(ini);     \(\backslash\)}
\DoxyCodeLine{      return status;               \(\backslash\)}
\DoxyCodeLine{    \}                              \(\backslash\)}
\DoxyCodeLine{  \} \textcolor{keywordflow}{while} (0)}

\end{DoxyCode}


Definition at line 35 of file model\+\_\+loader.\+cpp.

