\hypertarget{layer__node_8cpp}{}\doxysection{layers/layer\+\_\+node.cpp File Reference}
\label{layer__node_8cpp}\index{layers/layer\_node.cpp@{layers/layer\_node.cpp}}


This is the layer node for network graph.  


{\ttfamily \#include \char`\"{}layer\+\_\+context.\+h\char`\"{}}\newline
{\ttfamily \#include $<$algorithm$>$}\newline
{\ttfamily \#include $<$cmath$>$}\newline
{\ttfamily \#include $<$iterator$>$}\newline
{\ttfamily \#include $<$stdexcept$>$}\newline
{\ttfamily \#include $<$utility$>$}\newline
{\ttfamily \#include $<$activation\+\_\+layer.\+h$>$}\newline
{\ttfamily \#include $<$app\+\_\+context.\+h$>$}\newline
{\ttfamily \#include $<$base\+\_\+properties.\+h$>$}\newline
{\ttfamily \#include $<$common\+\_\+properties.\+h$>$}\newline
{\ttfamily \#include $<$connection.\+h$>$}\newline
{\ttfamily \#include $<$layer\+\_\+node.\+h$>$}\newline
{\ttfamily \#include $<$nntrainer\+\_\+error.\+h$>$}\newline
{\ttfamily \#include $<$nntrainer\+\_\+log.\+h$>$}\newline
{\ttfamily \#include $<$node\+\_\+exporter.\+h$>$}\newline
{\ttfamily \#include $<$profiler.\+h$>$}\newline
{\ttfamily \#include $<$time\+\_\+dist.\+h$>$}\newline
{\ttfamily \#include $<$tracer.\+h$>$}\newline
{\ttfamily \#include $<$util\+\_\+func.\+h$>$}\newline
Include dependency graph for layer\+\_\+node.\+cpp\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{layer__node_8cpp__incl}
\end{center}
\end{figure}
\doxysubsection*{Classes}
\begin{DoxyCompactItemize}
\item 
class \mbox{\hyperlink{classnntrainer_1_1props_1_1Flatten}{nntrainer\+::props\+::\+Flatten}}
\begin{DoxyCompactList}\small\item\em \mbox{\hyperlink{classnntrainer_1_1props_1_1Flatten}{Flatten}} property, true if needs flatten layer afterwards. \end{DoxyCompactList}\item 
class \mbox{\hyperlink{classnntrainer_1_1props_1_1Distribute}{nntrainer\+::props\+::\+Distribute}}
\begin{DoxyCompactList}\small\item\em \mbox{\hyperlink{classnntrainer_1_1props_1_1Distribute}{Distribute}} property, true if it distribute across layer. \end{DoxyCompactList}\item 
class \mbox{\hyperlink{classnntrainer_1_1props_1_1Loss}{nntrainer\+::props\+::\+Loss}}
\begin{DoxyCompactList}\small\item\em \mbox{\hyperlink{classnntrainer_1_1props_1_1Loss}{Loss}} property, this defines loss specification of layer. \end{DoxyCompactList}\item 
class \mbox{\hyperlink{classnntrainer_1_1props_1_1InputShape}{nntrainer\+::props\+::\+Input\+Shape}}
\begin{DoxyCompactList}\small\item\em Input shape property which saves a single tensor shape (practically, std\+::array$<$\+Input\+Shape$>$ is used) \end{DoxyCompactList}\item 
class \mbox{\hyperlink{classnntrainer_1_1props_1_1SharedFrom}{nntrainer\+::props\+::\+Shared\+From}}
\begin{DoxyCompactList}\small\item\em properties for shared from \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Namespaces}
\begin{DoxyCompactItemize}
\item 
 \mbox{\hyperlink{namespacenntrainer}{nntrainer}}
\end{DoxyCompactItemize}
\doxysubsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \mbox{\hyperlink{namespacenntrainer_ad0c04a790a823410f9c7ac6b7abaffe8}{nntrainer\+::\+Print\+Option}} \{ \newline
\mbox{\hyperlink{namespacenntrainer_ad0c04a790a823410f9c7ac6b7abaffe8aa99bc1769d11098116640aea97285b5a}{nntrainer\+::\+P\+R\+I\+N\+T\+\_\+\+I\+N\+S\+T\+\_\+\+I\+N\+FO}} = (1 $<$$<$ 0), 
\mbox{\hyperlink{namespacenntrainer_ad0c04a790a823410f9c7ac6b7abaffe8a262425a87a1d7bc38964b0c230782c7e}{nntrainer\+::\+P\+R\+I\+N\+T\+\_\+\+S\+H\+A\+P\+E\+\_\+\+I\+N\+FO}} = (1 $<$$<$ 1), 
\mbox{\hyperlink{namespacenntrainer_ad0c04a790a823410f9c7ac6b7abaffe8ae8e453fa1fa0166f2cbb556c0b2fe499}{nntrainer\+::\+P\+R\+I\+N\+T\+\_\+\+P\+R\+OP}} = (1 $<$$<$ 2), 
\mbox{\hyperlink{namespacenntrainer_ad0c04a790a823410f9c7ac6b7abaffe8a4229fd85c43a78fc58f0e0cb80086844}{nntrainer\+::\+P\+R\+I\+N\+T\+\_\+\+P\+R\+O\+P\+\_\+\+M\+E\+TA}} = (1 $<$$<$ 3), 
\newline
\mbox{\hyperlink{namespacenntrainer_ad0c04a790a823410f9c7ac6b7abaffe8ab381d5cb0fde9ee52c21732bb448ceb5}{nntrainer\+::\+P\+R\+I\+N\+T\+\_\+\+W\+E\+I\+G\+H\+TS}} = (1 $<$$<$ 4), 
\mbox{\hyperlink{namespacenntrainer_ad0c04a790a823410f9c7ac6b7abaffe8a1e3da167f223b30edd207dffd9f0c74f}{nntrainer\+::\+P\+R\+I\+N\+T\+\_\+\+M\+E\+T\+R\+IC}} = (1 $<$$<$ 5)
 \}
\begin{DoxyCompactList}\small\item\em Print Options when printing layer info. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
std\+::unique\+\_\+ptr$<$ Layer\+Node $>$ \mbox{\hyperlink{namespacenntrainer_a04be82378b46e79b499cceeeb2dd48d5}{nntrainer\+::create\+Layer\+Node}} (const ml\+::train\+::\+Layer\+Type \&type, const std\+::vector$<$ std\+::string $>$ \&properties)
\begin{DoxyCompactList}\small\item\em \mbox{\hyperlink{classLayer}{Layer}} factory creator with constructor. \end{DoxyCompactList}\item 
std\+::unique\+\_\+ptr$<$ Layer\+Node $>$ \mbox{\hyperlink{namespacenntrainer_a51a272801b52c00849e47687e1e05df2}{nntrainer\+::create\+Layer\+Node}} (const std\+::string \&type, const std\+::vector$<$ std\+::string $>$ \&properties)
\begin{DoxyCompactList}\small\item\em \mbox{\hyperlink{classLayer}{Layer}} factory creator with constructor. \end{DoxyCompactList}\item 
std\+::unique\+\_\+ptr$<$ Layer\+Node $>$ \mbox{\hyperlink{namespacenntrainer_ab80b39d88a067bf48ad3d990eb973827}{nntrainer\+::create\+Layer\+Node}} (std\+::unique\+\_\+ptr$<$ nntrainer\+::\+Layer $>$ \&\&layer, const std\+::vector$<$ std\+::string $>$ \&properties)
\begin{DoxyCompactList}\small\item\em \mbox{\hyperlink{classLayer}{Layer}} factory creator with constructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{namespacenntrainer_af61069b84576b390e2182be0617dfac6}\label{namespacenntrainer_af61069b84576b390e2182be0617dfac6}} 
std\+::ostream \& {\bfseries nntrainer\+::operator$<$$<$} (std\+::ostream \&out, const Layer\+Node \&l)
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
This is the layer node for network graph. 

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

\begin{DoxyDate}{Date}
1 April 2021 
\end{DoxyDate}
\begin{DoxySeeAlso}{See also}
\href{https://github.com/nnstreamer/nntrainer}{\texttt{ https\+://github.\+com/nnstreamer/nntrainer}} 
\end{DoxySeeAlso}
\begin{DoxyAuthor}{Author}
Parichay Kapoor \href{mailto:pk.kapoor@samsung.com}{\texttt{ pk.\+kapoor@samsung.\+com}} 
\end{DoxyAuthor}
\begin{DoxyRefDesc}{Bug}
\item[\mbox{\hyperlink{bug__bug000104}{Bug}}]No known bugs except for N\+YI items \end{DoxyRefDesc}
