\hypertarget{app__context_8h}{}\doxysection{app\+\_\+context.\+h File Reference}
\label{app__context_8h}\index{app\_context.h@{app\_context.h}}


This file contains app context related functions and classes that manages the global configuration of the current environment.  


{\ttfamily \#include $<$algorithm$>$}\newline
{\ttfamily \#include $<$functional$>$}\newline
{\ttfamily \#include $<$memory$>$}\newline
{\ttfamily \#include $<$mutex$>$}\newline
{\ttfamily \#include $<$sstream$>$}\newline
{\ttfamily \#include $<$stdexcept$>$}\newline
{\ttfamily \#include $<$string$>$}\newline
{\ttfamily \#include $<$type\+\_\+traits$>$}\newline
{\ttfamily \#include $<$unordered\+\_\+map$>$}\newline
{\ttfamily \#include $<$vector$>$}\newline
{\ttfamily \#include $<$layer.\+h$>$}\newline
{\ttfamily \#include $<$layer\+\_\+devel.\+h$>$}\newline
{\ttfamily \#include $<$optimizer.\+h$>$}\newline
{\ttfamily \#include $<$optimizer\+\_\+devel.\+h$>$}\newline
{\ttfamily \#include $<$nntrainer\+\_\+error.\+h$>$}\newline
Include dependency graph for app\+\_\+context.\+h\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{app__context_8h__incl}
\end{center}
\end{figure}
This graph shows which files directly or indirectly include this file\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{app__context_8h__dep__incl}
\end{center}
\end{figure}
\doxysubsection*{Classes}
\begin{DoxyCompactItemize}
\item 
class \mbox{\hyperlink{classnntrainer_1_1AppContext}{nntrainer\+::\+App\+Context}}
\begin{DoxyCompactList}\small\item\em App. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Namespaces}
\begin{DoxyCompactItemize}
\item 
 \mbox{\hyperlink{namespacenntrainer}{nntrainer}}
\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
const template int \mbox{\hyperlink{namespacenntrainer_a2ce4ee428c91b5efea84166a8610927a}{nntrainer\+::\+App\+Context\+::register\+Factory$<$ nntrainer\+::\+Optimizer $>$}} (const Factory\+Type$<$ nntrainer\+::\+Optimizer $>$ factory, const std\+::string \&key, const int int\+\_\+key)
\begin{DoxyCompactList}\small\item\em int \mbox{\hyperlink{classnntrainer_1_1AppContext_a31d3828733f9e3086754b456dbc9f90e}{App\+Context\+::register\+Factory}} \end{DoxyCompactList}\item 
const template int \mbox{\hyperlink{namespacenntrainer_a1312c36a2fc5d2413128dad2b0446717}{nntrainer\+::\+App\+Context\+::register\+Factory$<$ nntrainer\+::\+Layer $>$}} (const Factory\+Type$<$ nntrainer\+::\+Layer $>$ factory, const std\+::string \&key, const int int\+\_\+key)
\begin{DoxyCompactList}\small\item\em int \mbox{\hyperlink{classnntrainer_1_1AppContext_a31d3828733f9e3086754b456dbc9f90e}{App\+Context\+::register\+Factory}} \end{DoxyCompactList}\item 
const template int \mbox{\hyperlink{namespacenntrainer_a6fe37026a34e6f748a7f591fb78f99a1}{nntrainer\+::\+App\+Context\+::register\+Factory$<$ ml\+::train\+::\+Learning\+Rate\+Scheduler $>$}} (const Factory\+Type$<$ ml\+::train\+::\+Learning\+Rate\+Scheduler $>$ factory, const std\+::string \&key, const int int\+\_\+key)
\begin{DoxyCompactList}\small\item\em int \mbox{\hyperlink{classnntrainer_1_1AppContext_a31d3828733f9e3086754b456dbc9f90e}{App\+Context\+::register\+Factory}} \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
This file contains app context related functions and classes that manages the global configuration of the current environment. 

Copyright (C) 2020 Jihoon Lee \href{mailto:jhoon.it.lee@samsung.com}{\texttt{ jhoon.\+it.\+lee@samsung.\+com}}

\begin{DoxyDate}{Date}
10 November 2020 
\end{DoxyDate}
\begin{DoxySeeAlso}{See also}
\href{https://github.com/nnstreamer/nntrainer}{\texttt{ https\+://github.\+com/nnstreamer/nntrainer}} 
\end{DoxySeeAlso}
\begin{DoxyAuthor}{Author}
Jihoon Lee \href{mailto:jhoon.it.lee@samsung.com}{\texttt{ jhoon.\+it.\+lee@samsung.\+com}} 
\end{DoxyAuthor}
\begin{DoxyRefDesc}{Bug}
\item[\mbox{\hyperlink{bug__bug000002}{Bug}}]No known bugs except for N\+YI items\end{DoxyRefDesc}
