\section{Layer\+Traits$<$ Layer\+Type $>$ Class Template Reference}
\label{classmlpack_1_1ann_1_1LayerTraits}\index{Layer\+Traits$<$ Layer\+Type $>$@{Layer\+Traits$<$ Layer\+Type $>$}}


This is a template class that can provide information about various layers.  


\subsection*{Static Public Attributes}
\begin{DoxyCompactItemize}
\item 
static const bool \textbf{ Is\+Bias\+Layer} = false
\begin{DoxyCompactList}\small\item\em This is true if the layer is a bias layer. \end{DoxyCompactList}\item 
static const bool \textbf{ Is\+Binary} = false
\begin{DoxyCompactList}\small\item\em This is true if the layer is a binary layer. \end{DoxyCompactList}\item 
static const bool \textbf{ Is\+Connection} = false
\item 
static const bool \textbf{ Is\+L\+S\+T\+M\+Layer} = false
\item 
static const bool \textbf{ Is\+Output\+Layer} = false
\begin{DoxyCompactList}\small\item\em This is true if the layer is an output layer. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$typename Layer\+Type$>$\newline
class mlpack\+::ann\+::\+Layer\+Traits$<$ Layer\+Type $>$}

This is a template class that can provide information about various layers. 

By default, this class will provide the weakest possible assumptions on layer, and each layer should override values as necessary. If a layer doesn\textquotesingle{}t need to override a value, then there\textquotesingle{}s no need to write a \doxyref{Layer\+Traits}{p.}{classmlpack_1_1ann_1_1LayerTraits} specialization for that class. 

Definition at line 29 of file layer\+\_\+traits.\+hpp.



\subsection{Member Data Documentation}
\mbox{\label{classmlpack_1_1ann_1_1LayerTraits_a69580094e588b884a0eb0b30d268d6eb}} 
\index{mlpack\+::ann\+::\+Layer\+Traits@{mlpack\+::ann\+::\+Layer\+Traits}!Is\+Bias\+Layer@{Is\+Bias\+Layer}}
\index{Is\+Bias\+Layer@{Is\+Bias\+Layer}!mlpack\+::ann\+::\+Layer\+Traits@{mlpack\+::ann\+::\+Layer\+Traits}}
\subsubsection{Is\+Bias\+Layer}
{\footnotesize\ttfamily const bool Is\+Bias\+Layer = false\hspace{0.3cm}{\ttfamily [static]}}



This is true if the layer is a bias layer. 



Definition at line 45 of file layer\+\_\+traits.\+hpp.

\mbox{\label{classmlpack_1_1ann_1_1LayerTraits_aec3667955b84aa1f944329b5ca9ac6bc}} 
\index{mlpack\+::ann\+::\+Layer\+Traits@{mlpack\+::ann\+::\+Layer\+Traits}!Is\+Binary@{Is\+Binary}}
\index{Is\+Binary@{Is\+Binary}!mlpack\+::ann\+::\+Layer\+Traits@{mlpack\+::ann\+::\+Layer\+Traits}}
\subsubsection{Is\+Binary}
{\footnotesize\ttfamily const bool Is\+Binary = false\hspace{0.3cm}{\ttfamily [static]}}



This is true if the layer is a binary layer. 



Definition at line 35 of file layer\+\_\+traits.\+hpp.

\mbox{\label{classmlpack_1_1ann_1_1LayerTraits_a4e4d37fda356f300a538357b06db74e3}} 
\index{mlpack\+::ann\+::\+Layer\+Traits@{mlpack\+::ann\+::\+Layer\+Traits}!Is\+Connection@{Is\+Connection}}
\index{Is\+Connection@{Is\+Connection}!mlpack\+::ann\+::\+Layer\+Traits@{mlpack\+::ann\+::\+Layer\+Traits}}
\subsubsection{Is\+Connection}
{\footnotesize\ttfamily const bool Is\+Connection = false\hspace{0.3cm}{\ttfamily [static]}}



Definition at line 55 of file layer\+\_\+traits.\+hpp.

\mbox{\label{classmlpack_1_1ann_1_1LayerTraits_a816a2da3205a125090e7880005ff89cd}} 
\index{mlpack\+::ann\+::\+Layer\+Traits@{mlpack\+::ann\+::\+Layer\+Traits}!Is\+L\+S\+T\+M\+Layer@{Is\+L\+S\+T\+M\+Layer}}
\index{Is\+L\+S\+T\+M\+Layer@{Is\+L\+S\+T\+M\+Layer}!mlpack\+::ann\+::\+Layer\+Traits@{mlpack\+::ann\+::\+Layer\+Traits}}
\subsubsection{Is\+L\+S\+T\+M\+Layer}
{\footnotesize\ttfamily const bool Is\+L\+S\+T\+M\+Layer = false\hspace{0.3cm}{\ttfamily [static]}}



Definition at line 50 of file layer\+\_\+traits.\+hpp.

\mbox{\label{classmlpack_1_1ann_1_1LayerTraits_a19ff589b2311f62ad44a0f47de8dc136}} 
\index{mlpack\+::ann\+::\+Layer\+Traits@{mlpack\+::ann\+::\+Layer\+Traits}!Is\+Output\+Layer@{Is\+Output\+Layer}}
\index{Is\+Output\+Layer@{Is\+Output\+Layer}!mlpack\+::ann\+::\+Layer\+Traits@{mlpack\+::ann\+::\+Layer\+Traits}}
\subsubsection{Is\+Output\+Layer}
{\footnotesize\ttfamily const bool Is\+Output\+Layer = false\hspace{0.3cm}{\ttfamily [static]}}



This is true if the layer is an output layer. 



Definition at line 40 of file layer\+\_\+traits.\+hpp.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
/var/www/mlpack.\+ratml.\+org/mlpack.\+org/\+\_\+src/mlpack-\/git/src/mlpack/methods/ann/layer/\textbf{ layer\+\_\+traits.\+hpp}\end{DoxyCompactItemize}
