\hypertarget{tensor__filter__single_8h}{}\doxysection{nnstreamer/tensor\+\_\+filter/tensor\+\_\+filter\+\_\+single.h File Reference}
\label{tensor__filter__single_8h}\index{nnstreamer/tensor\_filter/tensor\_filter\_single.h@{nnstreamer/tensor\_filter/tensor\_filter\_single.h}}


Element to use general neural network framework individually without gstreamer pipeline.  


{\ttfamily \#include $<$stdint.\+h$>$}\newline
{\ttfamily \#include $<$glib-\/object.\+h$>$}\newline
{\ttfamily \#include $<$tensor\+\_\+typedef.\+h$>$}\newline
Include dependency graph for tensor\+\_\+filter\+\_\+single.\+h\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=302pt]{tensor__filter__single_8h__incl}
\end{center}
\end{figure}
This graph shows which files directly or indirectly include this file\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=214pt]{tensor__filter__single_8h__dep__incl}
\end{center}
\end{figure}
\doxysubsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{struct__GTensorFilterSingle}{\+\_\+\+G\+Tensor\+Filter\+Single}}
\begin{DoxyCompactList}\small\item\em Internal data structure for tensor\+\_\+filter\+\_\+single instances. \end{DoxyCompactList}\item 
struct \mbox{\hyperlink{struct__GTensorFilterSingleClass}{\+\_\+\+G\+Tensor\+Filter\+Single\+Class}}
\begin{DoxyCompactList}\small\item\em G\+Tensor\+Filter\+Single\+Class inherits G\+Object\+Class. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{tensor__filter__single_8h_aa82bd32ddbdc433adba689c2f4529894}{G\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+F\+I\+L\+T\+E\+R\+\_\+\+S\+I\+N\+G\+LE}}~(\mbox{\hyperlink{tensor__filter__single_8h_adcf7e294031148e8392dc500b4554e00}{g\+\_\+tensor\+\_\+filter\+\_\+single\+\_\+get\+\_\+type}}())
\item 
\#define \mbox{\hyperlink{tensor__filter__single_8h_a3bc0459ea0369cecdcf076c6af978843}{G\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+F\+I\+L\+T\+E\+R\+\_\+\+S\+I\+N\+G\+LE}}(obj)~(G\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+H\+E\+C\+K\+\_\+\+I\+N\+S\+T\+A\+N\+C\+E\+\_\+\+C\+A\+ST((obj),\mbox{\hyperlink{tensor__filter__single_8h_aa82bd32ddbdc433adba689c2f4529894}{G\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+F\+I\+L\+T\+E\+R\+\_\+\+S\+I\+N\+G\+LE}},\mbox{\hyperlink{tensor__filter__single_8h_a695792224df505bec5aef3d649336d42}{G\+Tensor\+Filter\+Single}}))
\item 
\#define \mbox{\hyperlink{tensor__filter__single_8h_ac7c29c085126e115e2688cbed85dcf2b}{G\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+F\+I\+L\+T\+E\+R\+\_\+\+S\+I\+N\+G\+L\+E\+\_\+\+C\+L\+A\+SS}}(klass)~(G\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+H\+E\+C\+K\+\_\+\+C\+L\+A\+S\+S\+\_\+\+C\+A\+ST((klass),\mbox{\hyperlink{tensor__filter__single_8h_aa82bd32ddbdc433adba689c2f4529894}{G\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+F\+I\+L\+T\+E\+R\+\_\+\+S\+I\+N\+G\+LE}},\mbox{\hyperlink{tensor__filter__single_8h_a721792e9af9509d07b8b04356a08a270}{G\+Tensor\+Filter\+Single\+Class}}))
\item 
\#define \mbox{\hyperlink{tensor__filter__single_8h_acc6d5c8c8073c2bc2783a2ee0b243918}{G\+\_\+\+I\+S\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+F\+I\+L\+T\+E\+R\+\_\+\+S\+I\+N\+G\+LE}}(obj)~(G\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+H\+E\+C\+K\+\_\+\+I\+N\+S\+T\+A\+N\+C\+E\+\_\+\+T\+Y\+PE((obj),\mbox{\hyperlink{tensor__filter__single_8h_aa82bd32ddbdc433adba689c2f4529894}{G\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+F\+I\+L\+T\+E\+R\+\_\+\+S\+I\+N\+G\+LE}}))
\item 
\#define \mbox{\hyperlink{tensor__filter__single_8h_a9109302bf8bcf83efdf704c814fc4a97}{G\+\_\+\+I\+S\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+F\+I\+L\+T\+E\+R\+\_\+\+S\+I\+N\+G\+L\+E\+\_\+\+C\+L\+A\+SS}}(klass)~(G\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+H\+E\+C\+K\+\_\+\+C\+L\+A\+S\+S\+\_\+\+T\+Y\+PE((klass),\mbox{\hyperlink{tensor__filter__single_8h_aa82bd32ddbdc433adba689c2f4529894}{G\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+F\+I\+L\+T\+E\+R\+\_\+\+S\+I\+N\+G\+LE}}))
\item 
\#define \mbox{\hyperlink{tensor__filter__single_8h_a921a7273dac20ed3744d952968010b24}{G\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+F\+I\+L\+T\+E\+R\+\_\+\+S\+I\+N\+G\+L\+E\+\_\+\+C\+A\+ST}}(obj)~((\mbox{\hyperlink{tensor__filter__single_8h_a695792224df505bec5aef3d649336d42}{G\+Tensor\+Filter\+Single}} $\ast$)(obj))
\end{DoxyCompactItemize}
\doxysubsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef struct \mbox{\hyperlink{struct__GTensorFilterSingle}{\+\_\+\+G\+Tensor\+Filter\+Single}} \mbox{\hyperlink{tensor__filter__single_8h_a695792224df505bec5aef3d649336d42}{G\+Tensor\+Filter\+Single}}
\item 
typedef struct \mbox{\hyperlink{struct__GTensorFilterSingleClass}{\+\_\+\+G\+Tensor\+Filter\+Single\+Class}} \mbox{\hyperlink{tensor__filter__single_8h_a721792e9af9509d07b8b04356a08a270}{G\+Tensor\+Filter\+Single\+Class}}
\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
G\+Type \mbox{\hyperlink{tensor__filter__single_8h_adcf7e294031148e8392dc500b4554e00}{g\+\_\+tensor\+\_\+filter\+\_\+single\+\_\+get\+\_\+type}} (void)
\begin{DoxyCompactList}\small\item\em Get Type function required for gst elements. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Element to use general neural network framework individually without gstreamer pipeline. 

Copyright (C) 2019 Parichay kapoor \href{mailto:pk.kapoor@samsung.com}{\texttt{ pk.\+kapoor@samsung.\+com}}

This library is free software; you can redistribute it and/or modify it under the terms of the G\+NU Library General Public License as published by the Free Software Foundation; version 2.\+1 of the License.

This library is distributed in the hope that it will be useful, but W\+I\+T\+H\+O\+UT A\+NY W\+A\+R\+R\+A\+N\+TY; without even the implied warranty of M\+E\+R\+C\+H\+A\+N\+T\+A\+B\+I\+L\+I\+TY or F\+I\+T\+N\+E\+SS F\+OR A P\+A\+R\+T\+I\+C\+U\+L\+AR P\+U\+R\+P\+O\+SE. See the G\+NU Library General Public License for more details.

\begin{DoxyDate}{Date}
28 Aug 2019 
\end{DoxyDate}
\begin{DoxySeeAlso}{See also}
\href{http://github.com/nnstreamer/nnstreamer}{\texttt{ http\+://github.\+com/nnstreamer/nnstreamer}} 
\end{DoxySeeAlso}
\begin{DoxyAuthor}{Author}
Parichay Kapoor \href{mailto:pk.kapoor@samsung.com}{\texttt{ pk.\+kapoor@samsung.\+com}} 

Myung\+Joo Ham \href{mailto:myungjoo.ham@samsung.com}{\texttt{ myungjoo.\+ham@samsung.\+com}} 
\end{DoxyAuthor}
\begin{DoxyRefDesc}{Bug}
\item[\mbox{\hyperlink{bug__bug000110}{Bug}}]No known bugs except for N\+YI items \end{DoxyRefDesc}


\doxysubsection{Macro Definition Documentation}
\mbox{\Hypertarget{tensor__filter__single_8h_acc6d5c8c8073c2bc2783a2ee0b243918}\label{tensor__filter__single_8h_acc6d5c8c8073c2bc2783a2ee0b243918}} 
\index{tensor\_filter\_single.h@{tensor\_filter\_single.h}!G\_IS\_TENSOR\_FILTER\_SINGLE@{G\_IS\_TENSOR\_FILTER\_SINGLE}}
\index{G\_IS\_TENSOR\_FILTER\_SINGLE@{G\_IS\_TENSOR\_FILTER\_SINGLE}!tensor\_filter\_single.h@{tensor\_filter\_single.h}}
\doxysubsubsection{\texorpdfstring{G\_IS\_TENSOR\_FILTER\_SINGLE}{G\_IS\_TENSOR\_FILTER\_SINGLE}}
{\footnotesize\ttfamily \#define G\+\_\+\+I\+S\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+F\+I\+L\+T\+E\+R\+\_\+\+S\+I\+N\+G\+LE(\begin{DoxyParamCaption}\item[{}]{obj }\end{DoxyParamCaption})~(G\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+H\+E\+C\+K\+\_\+\+I\+N\+S\+T\+A\+N\+C\+E\+\_\+\+T\+Y\+PE((obj),\mbox{\hyperlink{tensor__filter__single_8h_aa82bd32ddbdc433adba689c2f4529894}{G\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+F\+I\+L\+T\+E\+R\+\_\+\+S\+I\+N\+G\+LE}}))}



Definition at line 39 of file tensor\+\_\+filter\+\_\+single.\+h.

\mbox{\Hypertarget{tensor__filter__single_8h_a9109302bf8bcf83efdf704c814fc4a97}\label{tensor__filter__single_8h_a9109302bf8bcf83efdf704c814fc4a97}} 
\index{tensor\_filter\_single.h@{tensor\_filter\_single.h}!G\_IS\_TENSOR\_FILTER\_SINGLE\_CLASS@{G\_IS\_TENSOR\_FILTER\_SINGLE\_CLASS}}
\index{G\_IS\_TENSOR\_FILTER\_SINGLE\_CLASS@{G\_IS\_TENSOR\_FILTER\_SINGLE\_CLASS}!tensor\_filter\_single.h@{tensor\_filter\_single.h}}
\doxysubsubsection{\texorpdfstring{G\_IS\_TENSOR\_FILTER\_SINGLE\_CLASS}{G\_IS\_TENSOR\_FILTER\_SINGLE\_CLASS}}
{\footnotesize\ttfamily \#define G\+\_\+\+I\+S\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+F\+I\+L\+T\+E\+R\+\_\+\+S\+I\+N\+G\+L\+E\+\_\+\+C\+L\+A\+SS(\begin{DoxyParamCaption}\item[{}]{klass }\end{DoxyParamCaption})~(G\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+H\+E\+C\+K\+\_\+\+C\+L\+A\+S\+S\+\_\+\+T\+Y\+PE((klass),\mbox{\hyperlink{tensor__filter__single_8h_aa82bd32ddbdc433adba689c2f4529894}{G\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+F\+I\+L\+T\+E\+R\+\_\+\+S\+I\+N\+G\+LE}}))}



Definition at line 41 of file tensor\+\_\+filter\+\_\+single.\+h.

\mbox{\Hypertarget{tensor__filter__single_8h_a3bc0459ea0369cecdcf076c6af978843}\label{tensor__filter__single_8h_a3bc0459ea0369cecdcf076c6af978843}} 
\index{tensor\_filter\_single.h@{tensor\_filter\_single.h}!G\_TENSOR\_FILTER\_SINGLE@{G\_TENSOR\_FILTER\_SINGLE}}
\index{G\_TENSOR\_FILTER\_SINGLE@{G\_TENSOR\_FILTER\_SINGLE}!tensor\_filter\_single.h@{tensor\_filter\_single.h}}
\doxysubsubsection{\texorpdfstring{G\_TENSOR\_FILTER\_SINGLE}{G\_TENSOR\_FILTER\_SINGLE}}
{\footnotesize\ttfamily \#define G\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+F\+I\+L\+T\+E\+R\+\_\+\+S\+I\+N\+G\+LE(\begin{DoxyParamCaption}\item[{}]{obj }\end{DoxyParamCaption})~(G\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+H\+E\+C\+K\+\_\+\+I\+N\+S\+T\+A\+N\+C\+E\+\_\+\+C\+A\+ST((obj),\mbox{\hyperlink{tensor__filter__single_8h_aa82bd32ddbdc433adba689c2f4529894}{G\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+F\+I\+L\+T\+E\+R\+\_\+\+S\+I\+N\+G\+LE}},\mbox{\hyperlink{tensor__filter__single_8h_a695792224df505bec5aef3d649336d42}{G\+Tensor\+Filter\+Single}}))}



Definition at line 35 of file tensor\+\_\+filter\+\_\+single.\+h.

\mbox{\Hypertarget{tensor__filter__single_8h_a921a7273dac20ed3744d952968010b24}\label{tensor__filter__single_8h_a921a7273dac20ed3744d952968010b24}} 
\index{tensor\_filter\_single.h@{tensor\_filter\_single.h}!G\_TENSOR\_FILTER\_SINGLE\_CAST@{G\_TENSOR\_FILTER\_SINGLE\_CAST}}
\index{G\_TENSOR\_FILTER\_SINGLE\_CAST@{G\_TENSOR\_FILTER\_SINGLE\_CAST}!tensor\_filter\_single.h@{tensor\_filter\_single.h}}
\doxysubsubsection{\texorpdfstring{G\_TENSOR\_FILTER\_SINGLE\_CAST}{G\_TENSOR\_FILTER\_SINGLE\_CAST}}
{\footnotesize\ttfamily \#define G\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+F\+I\+L\+T\+E\+R\+\_\+\+S\+I\+N\+G\+L\+E\+\_\+\+C\+A\+ST(\begin{DoxyParamCaption}\item[{}]{obj }\end{DoxyParamCaption})~((\mbox{\hyperlink{tensor__filter__single_8h_a695792224df505bec5aef3d649336d42}{G\+Tensor\+Filter\+Single}} $\ast$)(obj))}



Definition at line 43 of file tensor\+\_\+filter\+\_\+single.\+h.

\mbox{\Hypertarget{tensor__filter__single_8h_ac7c29c085126e115e2688cbed85dcf2b}\label{tensor__filter__single_8h_ac7c29c085126e115e2688cbed85dcf2b}} 
\index{tensor\_filter\_single.h@{tensor\_filter\_single.h}!G\_TENSOR\_FILTER\_SINGLE\_CLASS@{G\_TENSOR\_FILTER\_SINGLE\_CLASS}}
\index{G\_TENSOR\_FILTER\_SINGLE\_CLASS@{G\_TENSOR\_FILTER\_SINGLE\_CLASS}!tensor\_filter\_single.h@{tensor\_filter\_single.h}}
\doxysubsubsection{\texorpdfstring{G\_TENSOR\_FILTER\_SINGLE\_CLASS}{G\_TENSOR\_FILTER\_SINGLE\_CLASS}}
{\footnotesize\ttfamily \#define G\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+F\+I\+L\+T\+E\+R\+\_\+\+S\+I\+N\+G\+L\+E\+\_\+\+C\+L\+A\+SS(\begin{DoxyParamCaption}\item[{}]{klass }\end{DoxyParamCaption})~(G\+\_\+\+T\+Y\+P\+E\+\_\+\+C\+H\+E\+C\+K\+\_\+\+C\+L\+A\+S\+S\+\_\+\+C\+A\+ST((klass),\mbox{\hyperlink{tensor__filter__single_8h_aa82bd32ddbdc433adba689c2f4529894}{G\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+F\+I\+L\+T\+E\+R\+\_\+\+S\+I\+N\+G\+LE}},\mbox{\hyperlink{tensor__filter__single_8h_a721792e9af9509d07b8b04356a08a270}{G\+Tensor\+Filter\+Single\+Class}}))}



Definition at line 37 of file tensor\+\_\+filter\+\_\+single.\+h.

\mbox{\Hypertarget{tensor__filter__single_8h_aa82bd32ddbdc433adba689c2f4529894}\label{tensor__filter__single_8h_aa82bd32ddbdc433adba689c2f4529894}} 
\index{tensor\_filter\_single.h@{tensor\_filter\_single.h}!G\_TYPE\_TENSOR\_FILTER\_SINGLE@{G\_TYPE\_TENSOR\_FILTER\_SINGLE}}
\index{G\_TYPE\_TENSOR\_FILTER\_SINGLE@{G\_TYPE\_TENSOR\_FILTER\_SINGLE}!tensor\_filter\_single.h@{tensor\_filter\_single.h}}
\doxysubsubsection{\texorpdfstring{G\_TYPE\_TENSOR\_FILTER\_SINGLE}{G\_TYPE\_TENSOR\_FILTER\_SINGLE}}
{\footnotesize\ttfamily \#define G\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+F\+I\+L\+T\+E\+R\+\_\+\+S\+I\+N\+G\+LE~(\mbox{\hyperlink{tensor__filter__single_8h_adcf7e294031148e8392dc500b4554e00}{g\+\_\+tensor\+\_\+filter\+\_\+single\+\_\+get\+\_\+type}}())}



Definition at line 33 of file tensor\+\_\+filter\+\_\+single.\+h.



\doxysubsection{Typedef Documentation}
\mbox{\Hypertarget{tensor__filter__single_8h_a695792224df505bec5aef3d649336d42}\label{tensor__filter__single_8h_a695792224df505bec5aef3d649336d42}} 
\index{tensor\_filter\_single.h@{tensor\_filter\_single.h}!GTensorFilterSingle@{GTensorFilterSingle}}
\index{GTensorFilterSingle@{GTensorFilterSingle}!tensor\_filter\_single.h@{tensor\_filter\_single.h}}
\doxysubsubsection{\texorpdfstring{GTensorFilterSingle}{GTensorFilterSingle}}
{\footnotesize\ttfamily typedef struct \mbox{\hyperlink{struct__GTensorFilterSingle}{\+\_\+\+G\+Tensor\+Filter\+Single}} \mbox{\hyperlink{tensor__filter__single_8h_a695792224df505bec5aef3d649336d42}{G\+Tensor\+Filter\+Single}}}



Definition at line 45 of file tensor\+\_\+filter\+\_\+single.\+h.

\mbox{\Hypertarget{tensor__filter__single_8h_a721792e9af9509d07b8b04356a08a270}\label{tensor__filter__single_8h_a721792e9af9509d07b8b04356a08a270}} 
\index{tensor\_filter\_single.h@{tensor\_filter\_single.h}!GTensorFilterSingleClass@{GTensorFilterSingleClass}}
\index{GTensorFilterSingleClass@{GTensorFilterSingleClass}!tensor\_filter\_single.h@{tensor\_filter\_single.h}}
\doxysubsubsection{\texorpdfstring{GTensorFilterSingleClass}{GTensorFilterSingleClass}}
{\footnotesize\ttfamily typedef struct \mbox{\hyperlink{struct__GTensorFilterSingleClass}{\+\_\+\+G\+Tensor\+Filter\+Single\+Class}} \mbox{\hyperlink{tensor__filter__single_8h_a721792e9af9509d07b8b04356a08a270}{G\+Tensor\+Filter\+Single\+Class}}}



Definition at line 46 of file tensor\+\_\+filter\+\_\+single.\+h.



\doxysubsection{Function Documentation}
\mbox{\Hypertarget{tensor__filter__single_8h_adcf7e294031148e8392dc500b4554e00}\label{tensor__filter__single_8h_adcf7e294031148e8392dc500b4554e00}} 
\index{tensor\_filter\_single.h@{tensor\_filter\_single.h}!g\_tensor\_filter\_single\_get\_type@{g\_tensor\_filter\_single\_get\_type}}
\index{g\_tensor\_filter\_single\_get\_type@{g\_tensor\_filter\_single\_get\_type}!tensor\_filter\_single.h@{tensor\_filter\_single.h}}
\doxysubsubsection{\texorpdfstring{g\_tensor\_filter\_single\_get\_type()}{g\_tensor\_filter\_single\_get\_type()}}
{\footnotesize\ttfamily G\+Type g\+\_\+tensor\+\_\+filter\+\_\+single\+\_\+get\+\_\+type (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Get Type function required for gst elements. 

