\hypertarget{classnntrainer_1_1BnRealizer}{}\doxysection{nntrainer\+::Bn\+Realizer Class Reference}
\label{classnntrainer_1_1BnRealizer}\index{nntrainer::BnRealizer@{nntrainer::BnRealizer}}


Graph realizer class which removes batch normalization layer from the graph.  




{\ttfamily \#include $<$bn\+\_\+realizer.\+h$>$}



Inheritance diagram for nntrainer\+::Bn\+Realizer\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=216pt]{classnntrainer_1_1BnRealizer__inherit__graph}
\end{center}
\end{figure}


Collaboration diagram for nntrainer\+::Bn\+Realizer\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=216pt]{classnntrainer_1_1BnRealizer__coll__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classnntrainer_1_1BnRealizer_af6b2050b994ec95eb08a1d936d5b8dae}{Bn\+Realizer}} ()=default
\begin{DoxyCompactList}\small\item\em Construct a new BN Realizer object. \end{DoxyCompactList}\item 
\mbox{\hyperlink{classnntrainer_1_1BnRealizer_aa423c276d38f31a9d972c0dc88fe4f98}{$\sim$\+Bn\+Realizer}} ()=default
\begin{DoxyCompactList}\small\item\em Destroy the Graph Realizer object. \end{DoxyCompactList}\item 
Graph\+Representation \mbox{\hyperlink{classnntrainer_1_1BnRealizer_a2b6718223dcfd931bba5f2f1c9a1ac77}{realize}} (const Graph\+Representation \&reference) override
\begin{DoxyCompactList}\small\item\em graph realizer creates a shallow copied graph based on the reference \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Graph realizer class which removes batch normalization layer from the graph. 

\begin{DoxyNote}{Note}
This assumes the number of input / output connection of batch normalization layer == 1 
\end{DoxyNote}


Definition at line 32 of file bn\+\_\+realizer.\+h.



\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{classnntrainer_1_1BnRealizer_af6b2050b994ec95eb08a1d936d5b8dae}\label{classnntrainer_1_1BnRealizer_af6b2050b994ec95eb08a1d936d5b8dae}} 
\index{nntrainer::BnRealizer@{nntrainer::BnRealizer}!BnRealizer@{BnRealizer}}
\index{BnRealizer@{BnRealizer}!nntrainer::BnRealizer@{nntrainer::BnRealizer}}
\doxysubsubsection{\texorpdfstring{BnRealizer()}{BnRealizer()}}
{\footnotesize\ttfamily nntrainer\+::\+Bn\+Realizer\+::\+Bn\+Realizer (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [default]}}



Construct a new BN Realizer object. 

\mbox{\Hypertarget{classnntrainer_1_1BnRealizer_aa423c276d38f31a9d972c0dc88fe4f98}\label{classnntrainer_1_1BnRealizer_aa423c276d38f31a9d972c0dc88fe4f98}} 
\index{nntrainer::BnRealizer@{nntrainer::BnRealizer}!````~BnRealizer@{$\sim$BnRealizer}}
\index{````~BnRealizer@{$\sim$BnRealizer}!nntrainer::BnRealizer@{nntrainer::BnRealizer}}
\doxysubsubsection{\texorpdfstring{$\sim$BnRealizer()}{~BnRealizer()}}
{\footnotesize\ttfamily nntrainer\+::\+Bn\+Realizer\+::$\sim$\+Bn\+Realizer (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [default]}}



Destroy the Graph Realizer object. 



\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{classnntrainer_1_1BnRealizer_a2b6718223dcfd931bba5f2f1c9a1ac77}\label{classnntrainer_1_1BnRealizer_a2b6718223dcfd931bba5f2f1c9a1ac77}} 
\index{nntrainer::BnRealizer@{nntrainer::BnRealizer}!realize@{realize}}
\index{realize@{realize}!nntrainer::BnRealizer@{nntrainer::BnRealizer}}
\doxysubsubsection{\texorpdfstring{realize()}{realize()}}
{\footnotesize\ttfamily Graph\+Representation nntrainer\+::\+Bn\+Realizer\+::realize (\begin{DoxyParamCaption}\item[{const Graph\+Representation \&}]{reference }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [override]}, {\ttfamily [virtual]}}



graph realizer creates a shallow copied graph based on the reference 

\begin{DoxyNote}{Note}
bn realizer removes batch normalization layers from Graph\+Representation 
\end{DoxyNote}

\begin{DoxyParams}{Parameters}
{\em reference} & Graph\+Representation to be realized \\
\hline
\end{DoxyParams}

\begin{DoxyExceptions}{Exceptions}
{\em std\+::invalid\+\_\+argument} & if graph is ill formed \\
\hline
\end{DoxyExceptions}


Implements \mbox{\hyperlink{classnntrainer_1_1GraphRealizer_a841b81262ea06e58655b512c3a0d05a9}{nntrainer\+::\+Graph\+Realizer}}.



Definition at line 27 of file bn\+\_\+realizer.\+cpp.

Here is the caller graph for this function\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classnntrainer_1_1BnRealizer_a2b6718223dcfd931bba5f2f1c9a1ac77_icgraph}
\end{center}
\end{figure}


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