\hypertarget{classnntrainer_1_1InputRealizer}{}\doxysection{nntrainer\+::Input\+Realizer Class Reference}
\label{classnntrainer_1_1InputRealizer}\index{nntrainer::InputRealizer@{nntrainer::InputRealizer}}


Graph realizer class which remaps input from start -\/$>$ input layers.  




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



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


Collaboration diagram for nntrainer\+::Input\+Realizer\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=216pt]{classnntrainer_1_1InputRealizer__coll__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classnntrainer_1_1InputRealizer_a9e918ae1ecb2693a9ca2951315813bfd}{Input\+Realizer}} (const std\+::vector$<$ \mbox{\hyperlink{classnntrainer_1_1Connection}{Connection}} $>$ \&start\+\_\+conns, const std\+::vector$<$ \mbox{\hyperlink{classnntrainer_1_1Connection}{Connection}} $>$ \&input\+\_\+conns)
\begin{DoxyCompactList}\small\item\em Construct a new Input Realizer object. \end{DoxyCompactList}\item 
\mbox{\hyperlink{classnntrainer_1_1InputRealizer_a73ee15a7a49a206c5d8db2c43a659921}{$\sim$\+Input\+Realizer}} ()
\begin{DoxyCompactList}\small\item\em Destroy the Graph Realizer object. \end{DoxyCompactList}\item 
Graph\+Representation \mbox{\hyperlink{classnntrainer_1_1InputRealizer_aa912dbdb16801ee8201a2c8380b03ccc}{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 remaps input from start -\/$>$ input layers. 

\begin{DoxyNote}{Note}
This class overwrites input conns to the location of start conns. This requires each start location have the slot for input connection. 

When number of input connection == 0 for a start connection of index zero, this pushes input connection to the slot 
\end{DoxyNote}


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



\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{classnntrainer_1_1InputRealizer_a9e918ae1ecb2693a9ca2951315813bfd}\label{classnntrainer_1_1InputRealizer_a9e918ae1ecb2693a9ca2951315813bfd}} 
\index{nntrainer::InputRealizer@{nntrainer::InputRealizer}!InputRealizer@{InputRealizer}}
\index{InputRealizer@{InputRealizer}!nntrainer::InputRealizer@{nntrainer::InputRealizer}}
\doxysubsubsection{\texorpdfstring{InputRealizer()}{InputRealizer()}}
{\footnotesize\ttfamily nntrainer\+::\+Input\+Realizer\+::\+Input\+Realizer (\begin{DoxyParamCaption}\item[{const std\+::vector$<$ \mbox{\hyperlink{classnntrainer_1_1Connection}{Connection}} $>$ \&}]{start\+\_\+conns,  }\item[{const std\+::vector$<$ \mbox{\hyperlink{classnntrainer_1_1Connection}{Connection}} $>$ \&}]{input\+\_\+conns }\end{DoxyParamCaption})}



Construct a new Input Realizer object. 


\begin{DoxyParams}{Parameters}
{\em start\+\_\+conns} & start layers \\
\hline
{\em input\+\_\+conns} & input layers \\
\hline
\end{DoxyParams}


Definition at line 23 of file input\+\_\+realizer.\+cpp.

\mbox{\Hypertarget{classnntrainer_1_1InputRealizer_a73ee15a7a49a206c5d8db2c43a659921}\label{classnntrainer_1_1InputRealizer_a73ee15a7a49a206c5d8db2c43a659921}} 
\index{nntrainer::InputRealizer@{nntrainer::InputRealizer}!````~InputRealizer@{$\sim$InputRealizer}}
\index{````~InputRealizer@{$\sim$InputRealizer}!nntrainer::InputRealizer@{nntrainer::InputRealizer}}
\doxysubsubsection{\texorpdfstring{$\sim$InputRealizer()}{~InputRealizer()}}
{\footnotesize\ttfamily nntrainer\+::\+Input\+Realizer\+::$\sim$\+Input\+Realizer (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})}



Destroy the Graph Realizer object. 



Definition at line 31 of file input\+\_\+realizer.\+cpp.



\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{classnntrainer_1_1InputRealizer_aa912dbdb16801ee8201a2c8380b03ccc}\label{classnntrainer_1_1InputRealizer_aa912dbdb16801ee8201a2c8380b03ccc}} 
\index{nntrainer::InputRealizer@{nntrainer::InputRealizer}!realize@{realize}}
\index{realize@{realize}!nntrainer::InputRealizer@{nntrainer::InputRealizer}}
\doxysubsubsection{\texorpdfstring{realize()}{realize()}}
{\footnotesize\ttfamily Graph\+Representation nntrainer\+::\+Input\+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}
input realizer resets input\+\_\+layers of start\+\_\+layers so that it can be connected to the external network 
\end{DoxyNote}

\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 34 of file input\+\_\+realizer.\+cpp.



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