\hypertarget{classnntrainer_1_1props_1_1GenericShape}{}\doxysection{nntrainer\+::props\+::Generic\+Shape Class Reference}
\label{classnntrainer_1_1props_1_1GenericShape}\index{nntrainer::props::GenericShape@{nntrainer::props::GenericShape}}


generic shape property which saves a single tensor shape (practically, std\+::array$<$\+Generic\+Shape$>$ is used)  




{\ttfamily \#include $<$common\+\_\+properties.\+h$>$}



Inheritance diagram for nntrainer\+::props\+::Generic\+Shape\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classnntrainer_1_1props_1_1GenericShape__inherit__graph}
\end{center}
\end{figure}


Collaboration diagram for nntrainer\+::props\+::Generic\+Shape\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=217pt]{classnntrainer_1_1props_1_1GenericShape__coll__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
using \mbox{\hyperlink{classnntrainer_1_1props_1_1GenericShape_a9f67bd9e00b060506465dd78304c32d8}{prop\+\_\+tag}} = dimension\+\_\+prop\+\_\+tag
\end{DoxyCompactItemize}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
void \mbox{\hyperlink{classnntrainer_1_1props_1_1GenericShape_a98f05862c0e12596376e0b2a34172cb8}{set}} (const Tensor\+Dim \&\mbox{\hyperlink{namespacenntrainer_a41fadbe61bee85682a61d2251b89f8ccaa7b575b9206729df489556c378b86544}{value}}) override
\begin{DoxyCompactList}\small\item\em Input shape setter. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
static constexpr const char $\ast$ \mbox{\hyperlink{classnntrainer_1_1props_1_1GenericShape_a4c0fd109bfdda0f38eedd2d4a6168989}{key}}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
generic shape property which saves a single tensor shape (practically, std\+::array$<$\+Generic\+Shape$>$ is used) 

\begin{DoxyNote}{Note}
batch dimension is ignored with this dimension. Setting of batch must be done with the model. 
\end{DoxyNote}


Definition at line 1131 of file common\+\_\+properties.\+h.



\doxysubsection{Member Typedef Documentation}
\mbox{\Hypertarget{classnntrainer_1_1props_1_1GenericShape_a9f67bd9e00b060506465dd78304c32d8}\label{classnntrainer_1_1props_1_1GenericShape_a9f67bd9e00b060506465dd78304c32d8}} 
\index{nntrainer::props::GenericShape@{nntrainer::props::GenericShape}!prop\_tag@{prop\_tag}}
\index{prop\_tag@{prop\_tag}!nntrainer::props::GenericShape@{nntrainer::props::GenericShape}}
\doxysubsubsection{\texorpdfstring{prop\_tag}{prop\_tag}}
{\footnotesize\ttfamily using \mbox{\hyperlink{classnntrainer_1_1props_1_1GenericShape_a9f67bd9e00b060506465dd78304c32d8}{nntrainer\+::props\+::\+Generic\+Shape\+::prop\+\_\+tag}} =  dimension\+\_\+prop\+\_\+tag}

property type 

Definition at line 1136 of file common\+\_\+properties.\+h.



\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{classnntrainer_1_1props_1_1GenericShape_a98f05862c0e12596376e0b2a34172cb8}\label{classnntrainer_1_1props_1_1GenericShape_a98f05862c0e12596376e0b2a34172cb8}} 
\index{nntrainer::props::GenericShape@{nntrainer::props::GenericShape}!set@{set}}
\index{set@{set}!nntrainer::props::GenericShape@{nntrainer::props::GenericShape}}
\doxysubsubsection{\texorpdfstring{set()}{set()}}
{\footnotesize\ttfamily void nntrainer\+::props\+::\+Generic\+Shape\+::set (\begin{DoxyParamCaption}\item[{const Tensor\+Dim \&}]{value }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [override]}}



Input shape setter. 


\begin{DoxyParams}{Parameters}
{\em value} & value to set \\
\hline
\end{DoxyParams}


Definition at line 327 of file common\+\_\+properties.\+cpp.



\doxysubsection{Member Data Documentation}
\mbox{\Hypertarget{classnntrainer_1_1props_1_1GenericShape_a4c0fd109bfdda0f38eedd2d4a6168989}\label{classnntrainer_1_1props_1_1GenericShape_a4c0fd109bfdda0f38eedd2d4a6168989}} 
\index{nntrainer::props::GenericShape@{nntrainer::props::GenericShape}!key@{key}}
\index{key@{key}!nntrainer::props::GenericShape@{nntrainer::props::GenericShape}}
\doxysubsubsection{\texorpdfstring{key}{key}}
{\footnotesize\ttfamily constexpr const char$\ast$ nntrainer\+::props\+::\+Generic\+Shape\+::key\hspace{0.3cm}{\ttfamily [static]}, {\ttfamily [constexpr]}}

{\bfseries Initial value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{=}
\DoxyCodeLine{    \textcolor{stringliteral}{"generic\_shape"}}

\end{DoxyCode}
unique key to access 

Definition at line 1134 of file common\+\_\+properties.\+h.



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
layers/\mbox{\hyperlink{common__properties_8h}{common\+\_\+properties.\+h}}\item 
layers/\mbox{\hyperlink{common__properties_8cpp}{common\+\_\+properties.\+cpp}}\end{DoxyCompactItemize}
