\hypertarget{classnntrainer_1_1RemapRealizer}{}\doxysection{nntrainer\+::Remap\+Realizer Class Reference}
\label{classnntrainer_1_1RemapRealizer}\index{nntrainer::RemapRealizer@{nntrainer::RemapRealizer}}


Graph realizer class which remaps identifiers inside the graph representation, remap\+\_\+function will be applied for all the layers identifier visible.  




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



Inheritance diagram for nntrainer\+::Remap\+Realizer\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=221pt]{classnntrainer_1_1RemapRealizer__inherit__graph}
\end{center}
\end{figure}


Collaboration diagram for nntrainer\+::Remap\+Realizer\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=221pt]{classnntrainer_1_1RemapRealizer__coll__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{classnntrainer_1_1RemapRealizer_a1a5aa8210845de27d0b981d73800f5df}{Remap\+Realizer}} (std\+::function$<$ void(std\+::string \&, unsigned \&)$>$ remap\+\_\+connection\+\_\+function)
\begin{DoxyCompactList}\small\item\em Construct a new Remap Realizer object (connection mode) \end{DoxyCompactList}\item 
\mbox{\hyperlink{classnntrainer_1_1RemapRealizer_acd1679263467e118c1f49cee9ab3b7b6}{Remap\+Realizer}} (std\+::function$<$ void(std\+::string \&)$>$ remap\+\_\+function)
\begin{DoxyCompactList}\small\item\em Construct a new Remap Realizer object (identifier mode) \end{DoxyCompactList}\item 
\mbox{\hyperlink{classnntrainer_1_1RemapRealizer_a2a10c2c54be1ad4c848144a405dbb4d4}{$\sim$\+Remap\+Realizer}} ()
\begin{DoxyCompactList}\small\item\em Destroy the Graph Realizer object. \end{DoxyCompactList}\item 
Graph\+Representation \mbox{\hyperlink{classnntrainer_1_1RemapRealizer_af94b7445c3d8dbb5d1bb5619ed235bec}{realize}} (const Graph\+Representation \&reference) override
\begin{DoxyCompactList}\small\item\em graph realizer creates a new graph based on the reference \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Graph realizer class which remaps identifiers inside the graph representation, remap\+\_\+function will be applied for all the layers identifier visible. 



Definition at line 29 of file remap\+\_\+realizer.\+h.



\doxysubsection{Constructor \& Destructor Documentation}
\mbox{\Hypertarget{classnntrainer_1_1RemapRealizer_a1a5aa8210845de27d0b981d73800f5df}\label{classnntrainer_1_1RemapRealizer_a1a5aa8210845de27d0b981d73800f5df}} 
\index{nntrainer::RemapRealizer@{nntrainer::RemapRealizer}!RemapRealizer@{RemapRealizer}}
\index{RemapRealizer@{RemapRealizer}!nntrainer::RemapRealizer@{nntrainer::RemapRealizer}}
\doxysubsubsection{\texorpdfstring{RemapRealizer()}{RemapRealizer()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily nntrainer\+::\+Remap\+Realizer\+::\+Remap\+Realizer (\begin{DoxyParamCaption}\item[{std\+::function$<$ void(std\+::string \&, unsigned \&)$>$}]{remap\+\_\+connection\+\_\+function }\end{DoxyParamCaption})}



Construct a new Remap Realizer object (connection mode) 


\begin{DoxyParams}{Parameters}
{\em remap\+\_\+connection\+\_\+function} & remap connection function, with this constructor, only connections will be remapped eg) if you are inserting a new layer node in between, only connections need remapping \\
\hline
\end{DoxyParams}


Definition at line 17 of file remap\+\_\+realizer.\+cpp.

\mbox{\Hypertarget{classnntrainer_1_1RemapRealizer_acd1679263467e118c1f49cee9ab3b7b6}\label{classnntrainer_1_1RemapRealizer_acd1679263467e118c1f49cee9ab3b7b6}} 
\index{nntrainer::RemapRealizer@{nntrainer::RemapRealizer}!RemapRealizer@{RemapRealizer}}
\index{RemapRealizer@{RemapRealizer}!nntrainer::RemapRealizer@{nntrainer::RemapRealizer}}
\doxysubsubsection{\texorpdfstring{RemapRealizer()}{RemapRealizer()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily nntrainer\+::\+Remap\+Realizer\+::\+Remap\+Realizer (\begin{DoxyParamCaption}\item[{std\+::function$<$ void(std\+::string \&)$>$}]{remap\+\_\+function }\end{DoxyParamCaption})}



Construct a new Remap Realizer object (identifier mode) 


\begin{DoxyParams}{Parameters}
{\em remap\+\_\+function} & remap function, with this constructor, all identifiers wherever it is used will be remapped \\
\hline
\end{DoxyParams}


Definition at line 26 of file remap\+\_\+realizer.\+cpp.

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



Destroy the Graph Realizer object. 



Definition at line 35 of file remap\+\_\+realizer.\+cpp.



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



graph realizer creates a new graph based on the reference 

\begin{DoxyNote}{Note}
while remap realization, the graph is invalid.
\end{DoxyNote}


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



Definition at line 38 of file remap\+\_\+realizer.\+cpp.

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


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