\hypertarget{gsttensor__sparsedec_8h}{}\doxysection{nnstreamer/elements/gsttensor\+\_\+sparsedec.h File Reference}
\label{gsttensor__sparsedec_8h}\index{nnstreamer/elements/gsttensor\_sparsedec.h@{nnstreamer/elements/gsttensor\_sparsedec.h}}


G\+Streamer element to decode sparse tensors into dense tensors.  


{\ttfamily \#include $<$gst/gst.\+h$>$}\newline
{\ttfamily \#include $<$tensor\+\_\+common.\+h$>$}\newline
{\ttfamily \#include \char`\"{}gsttensor\+\_\+sparseutil.\+h\char`\"{}}\newline
Include dependency graph for gsttensor\+\_\+sparsedec.\+h\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__sparsedec_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=350pt]{gsttensor__sparsedec_8h__dep__incl}
\end{center}
\end{figure}
\doxysubsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{struct__GstTensorSparseDec}{\+\_\+\+Gst\+Tensor\+Sparse\+Dec}}
\begin{DoxyCompactList}\small\item\em Gst\+Tensor\+Sparse\+Dec data structure. \end{DoxyCompactList}\item 
struct \mbox{\hyperlink{struct__GstTensorSparseDecClass}{\+\_\+\+Gst\+Tensor\+Sparse\+Dec\+Class}}
\begin{DoxyCompactList}\small\item\em Gst\+Tensor\+Sparse\+Class data structure. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{gsttensor__sparsedec_8h_ad6b063d1efff57947e3a59a76b4098f4}{G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+S\+P\+A\+R\+S\+E\+\_\+\+D\+EC}}~(\mbox{\hyperlink{gsttensor__sparsedec_8h_a5f5732451faad17679c5214d42d8b0bb}{gst\+\_\+tensor\+\_\+sparse\+\_\+dec\+\_\+get\+\_\+type}}())
\item 
\#define \mbox{\hyperlink{gsttensor__sparsedec_8h_a2e54b064e756c1f080528c14eaf7546e}{G\+S\+T\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+S\+P\+A\+R\+S\+E\+\_\+\+D\+EC}}(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{gsttensor__sparsedec_8h_ad6b063d1efff57947e3a59a76b4098f4}{G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+S\+P\+A\+R\+S\+E\+\_\+\+D\+EC}},\mbox{\hyperlink{gsttensor__sparsedec_8h_a5845a781a65d4cb48a647a0d7bc0d818}{Gst\+Tensor\+Sparse\+Dec}}))
\item 
\#define \mbox{\hyperlink{gsttensor__sparsedec_8h_aecab2f469421f57ca2ced00fc1a06f27}{G\+S\+T\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+S\+P\+A\+R\+S\+E\+\_\+\+D\+E\+C\+\_\+\+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{gsttensor__sparsedec_8h_ad6b063d1efff57947e3a59a76b4098f4}{G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+S\+P\+A\+R\+S\+E\+\_\+\+D\+EC}},\mbox{\hyperlink{gsttensor__sparsedec_8h_a5b4b59ed0227a9a09322e3fcd183bc49}{Gst\+Tensor\+Sparse\+Dec\+Class}}))
\item 
\#define \mbox{\hyperlink{gsttensor__sparsedec_8h_aaefd90ee692833749411e2dd001ffb0d}{G\+S\+T\+\_\+\+I\+S\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+S\+P\+A\+R\+S\+E\+\_\+\+D\+EC}}(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{gsttensor__sparsedec_8h_ad6b063d1efff57947e3a59a76b4098f4}{G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+S\+P\+A\+R\+S\+E\+\_\+\+D\+EC}}))
\item 
\#define \mbox{\hyperlink{gsttensor__sparsedec_8h_abecde4c167bdc48f5f1ef4f8574f9aee}{G\+S\+T\+\_\+\+I\+S\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+S\+P\+A\+R\+S\+E\+\_\+\+D\+E\+C\+\_\+\+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{gsttensor__sparsedec_8h_ad6b063d1efff57947e3a59a76b4098f4}{G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+S\+P\+A\+R\+S\+E\+\_\+\+D\+EC}}))
\end{DoxyCompactItemize}
\doxysubsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef struct \mbox{\hyperlink{struct__GstTensorSparseDec}{\+\_\+\+Gst\+Tensor\+Sparse\+Dec}} \mbox{\hyperlink{gsttensor__sparsedec_8h_a5845a781a65d4cb48a647a0d7bc0d818}{Gst\+Tensor\+Sparse\+Dec}}
\item 
typedef struct \mbox{\hyperlink{struct__GstTensorSparseDecClass}{\+\_\+\+Gst\+Tensor\+Sparse\+Dec\+Class}} \mbox{\hyperlink{gsttensor__sparsedec_8h_a5b4b59ed0227a9a09322e3fcd183bc49}{Gst\+Tensor\+Sparse\+Dec\+Class}}
\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
G\+Type \mbox{\hyperlink{gsttensor__sparsedec_8h_a5f5732451faad17679c5214d42d8b0bb}{gst\+\_\+tensor\+\_\+sparse\+\_\+dec\+\_\+get\+\_\+type}} (void)
\begin{DoxyCompactList}\small\item\em Function to get type of tensor\+\_\+sparse. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
G\+Streamer element to decode sparse tensors into dense tensors. 

Copyright (C) 2021 Samsung Electronics Co., Ltd.

\begin{DoxyDate}{Date}
27 Jul 2021 
\end{DoxyDate}
\begin{DoxySeeAlso}{See also}
\href{https://github.com/nnstreamer/nnstreamer}{\texttt{ https\+://github.\+com/nnstreamer/nnstreamer}} 
\end{DoxySeeAlso}
\begin{DoxyAuthor}{Author}
Yongjoo Ahn \href{mailto:yongjoo1.ahn@samsung.com}{\texttt{ yongjoo1.\+ahn@samsung.\+com}} 
\end{DoxyAuthor}
\begin{DoxyRefDesc}{Bug}
\item[\mbox{\hyperlink{bug__bug000057}{Bug}}]No known bugs except for N\+YI items \end{DoxyRefDesc}


\doxysubsection{Macro Definition Documentation}
\mbox{\Hypertarget{gsttensor__sparsedec_8h_aaefd90ee692833749411e2dd001ffb0d}\label{gsttensor__sparsedec_8h_aaefd90ee692833749411e2dd001ffb0d}} 
\index{gsttensor\_sparsedec.h@{gsttensor\_sparsedec.h}!GST\_IS\_TENSOR\_SPARSE\_DEC@{GST\_IS\_TENSOR\_SPARSE\_DEC}}
\index{GST\_IS\_TENSOR\_SPARSE\_DEC@{GST\_IS\_TENSOR\_SPARSE\_DEC}!gsttensor\_sparsedec.h@{gsttensor\_sparsedec.h}}
\doxysubsubsection{\texorpdfstring{GST\_IS\_TENSOR\_SPARSE\_DEC}{GST\_IS\_TENSOR\_SPARSE\_DEC}}
{\footnotesize\ttfamily \#define G\+S\+T\+\_\+\+I\+S\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+S\+P\+A\+R\+S\+E\+\_\+\+D\+EC(\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{gsttensor__sparsedec_8h_ad6b063d1efff57947e3a59a76b4098f4}{G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+S\+P\+A\+R\+S\+E\+\_\+\+D\+EC}}))}



Definition at line 28 of file gsttensor\+\_\+sparsedec.\+h.

\mbox{\Hypertarget{gsttensor__sparsedec_8h_abecde4c167bdc48f5f1ef4f8574f9aee}\label{gsttensor__sparsedec_8h_abecde4c167bdc48f5f1ef4f8574f9aee}} 
\index{gsttensor\_sparsedec.h@{gsttensor\_sparsedec.h}!GST\_IS\_TENSOR\_SPARSE\_DEC\_CLASS@{GST\_IS\_TENSOR\_SPARSE\_DEC\_CLASS}}
\index{GST\_IS\_TENSOR\_SPARSE\_DEC\_CLASS@{GST\_IS\_TENSOR\_SPARSE\_DEC\_CLASS}!gsttensor\_sparsedec.h@{gsttensor\_sparsedec.h}}
\doxysubsubsection{\texorpdfstring{GST\_IS\_TENSOR\_SPARSE\_DEC\_CLASS}{GST\_IS\_TENSOR\_SPARSE\_DEC\_CLASS}}
{\footnotesize\ttfamily \#define G\+S\+T\+\_\+\+I\+S\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+S\+P\+A\+R\+S\+E\+\_\+\+D\+E\+C\+\_\+\+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{gsttensor__sparsedec_8h_ad6b063d1efff57947e3a59a76b4098f4}{G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+S\+P\+A\+R\+S\+E\+\_\+\+D\+EC}}))}



Definition at line 30 of file gsttensor\+\_\+sparsedec.\+h.

\mbox{\Hypertarget{gsttensor__sparsedec_8h_a2e54b064e756c1f080528c14eaf7546e}\label{gsttensor__sparsedec_8h_a2e54b064e756c1f080528c14eaf7546e}} 
\index{gsttensor\_sparsedec.h@{gsttensor\_sparsedec.h}!GST\_TENSOR\_SPARSE\_DEC@{GST\_TENSOR\_SPARSE\_DEC}}
\index{GST\_TENSOR\_SPARSE\_DEC@{GST\_TENSOR\_SPARSE\_DEC}!gsttensor\_sparsedec.h@{gsttensor\_sparsedec.h}}
\doxysubsubsection{\texorpdfstring{GST\_TENSOR\_SPARSE\_DEC}{GST\_TENSOR\_SPARSE\_DEC}}
{\footnotesize\ttfamily \#define G\+S\+T\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+S\+P\+A\+R\+S\+E\+\_\+\+D\+EC(\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{gsttensor__sparsedec_8h_ad6b063d1efff57947e3a59a76b4098f4}{G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+S\+P\+A\+R\+S\+E\+\_\+\+D\+EC}},\mbox{\hyperlink{gsttensor__sparsedec_8h_a5845a781a65d4cb48a647a0d7bc0d818}{Gst\+Tensor\+Sparse\+Dec}}))}



Definition at line 24 of file gsttensor\+\_\+sparsedec.\+h.

\mbox{\Hypertarget{gsttensor__sparsedec_8h_aecab2f469421f57ca2ced00fc1a06f27}\label{gsttensor__sparsedec_8h_aecab2f469421f57ca2ced00fc1a06f27}} 
\index{gsttensor\_sparsedec.h@{gsttensor\_sparsedec.h}!GST\_TENSOR\_SPARSE\_DEC\_CLASS@{GST\_TENSOR\_SPARSE\_DEC\_CLASS}}
\index{GST\_TENSOR\_SPARSE\_DEC\_CLASS@{GST\_TENSOR\_SPARSE\_DEC\_CLASS}!gsttensor\_sparsedec.h@{gsttensor\_sparsedec.h}}
\doxysubsubsection{\texorpdfstring{GST\_TENSOR\_SPARSE\_DEC\_CLASS}{GST\_TENSOR\_SPARSE\_DEC\_CLASS}}
{\footnotesize\ttfamily \#define G\+S\+T\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+S\+P\+A\+R\+S\+E\+\_\+\+D\+E\+C\+\_\+\+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{gsttensor__sparsedec_8h_ad6b063d1efff57947e3a59a76b4098f4}{G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+S\+P\+A\+R\+S\+E\+\_\+\+D\+EC}},\mbox{\hyperlink{gsttensor__sparsedec_8h_a5b4b59ed0227a9a09322e3fcd183bc49}{Gst\+Tensor\+Sparse\+Dec\+Class}}))}



Definition at line 26 of file gsttensor\+\_\+sparsedec.\+h.

\mbox{\Hypertarget{gsttensor__sparsedec_8h_ad6b063d1efff57947e3a59a76b4098f4}\label{gsttensor__sparsedec_8h_ad6b063d1efff57947e3a59a76b4098f4}} 
\index{gsttensor\_sparsedec.h@{gsttensor\_sparsedec.h}!GST\_TYPE\_TENSOR\_SPARSE\_DEC@{GST\_TYPE\_TENSOR\_SPARSE\_DEC}}
\index{GST\_TYPE\_TENSOR\_SPARSE\_DEC@{GST\_TYPE\_TENSOR\_SPARSE\_DEC}!gsttensor\_sparsedec.h@{gsttensor\_sparsedec.h}}
\doxysubsubsection{\texorpdfstring{GST\_TYPE\_TENSOR\_SPARSE\_DEC}{GST\_TYPE\_TENSOR\_SPARSE\_DEC}}
{\footnotesize\ttfamily \#define G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+S\+P\+A\+R\+S\+E\+\_\+\+D\+EC~(\mbox{\hyperlink{gsttensor__sparsedec_8h_a5f5732451faad17679c5214d42d8b0bb}{gst\+\_\+tensor\+\_\+sparse\+\_\+dec\+\_\+get\+\_\+type}}())}



Definition at line 22 of file gsttensor\+\_\+sparsedec.\+h.



\doxysubsection{Typedef Documentation}
\mbox{\Hypertarget{gsttensor__sparsedec_8h_a5845a781a65d4cb48a647a0d7bc0d818}\label{gsttensor__sparsedec_8h_a5845a781a65d4cb48a647a0d7bc0d818}} 
\index{gsttensor\_sparsedec.h@{gsttensor\_sparsedec.h}!GstTensorSparseDec@{GstTensorSparseDec}}
\index{GstTensorSparseDec@{GstTensorSparseDec}!gsttensor\_sparsedec.h@{gsttensor\_sparsedec.h}}
\doxysubsubsection{\texorpdfstring{GstTensorSparseDec}{GstTensorSparseDec}}
{\footnotesize\ttfamily typedef struct \mbox{\hyperlink{struct__GstTensorSparseDec}{\+\_\+\+Gst\+Tensor\+Sparse\+Dec}} \mbox{\hyperlink{gsttensor__sparsedec_8h_a5845a781a65d4cb48a647a0d7bc0d818}{Gst\+Tensor\+Sparse\+Dec}}}



Definition at line 33 of file gsttensor\+\_\+sparsedec.\+h.

\mbox{\Hypertarget{gsttensor__sparsedec_8h_a5b4b59ed0227a9a09322e3fcd183bc49}\label{gsttensor__sparsedec_8h_a5b4b59ed0227a9a09322e3fcd183bc49}} 
\index{gsttensor\_sparsedec.h@{gsttensor\_sparsedec.h}!GstTensorSparseDecClass@{GstTensorSparseDecClass}}
\index{GstTensorSparseDecClass@{GstTensorSparseDecClass}!gsttensor\_sparsedec.h@{gsttensor\_sparsedec.h}}
\doxysubsubsection{\texorpdfstring{GstTensorSparseDecClass}{GstTensorSparseDecClass}}
{\footnotesize\ttfamily typedef struct \mbox{\hyperlink{struct__GstTensorSparseDecClass}{\+\_\+\+Gst\+Tensor\+Sparse\+Dec\+Class}} \mbox{\hyperlink{gsttensor__sparsedec_8h_a5b4b59ed0227a9a09322e3fcd183bc49}{Gst\+Tensor\+Sparse\+Dec\+Class}}}



Definition at line 34 of file gsttensor\+\_\+sparsedec.\+h.



\doxysubsection{Function Documentation}
\mbox{\Hypertarget{gsttensor__sparsedec_8h_a5f5732451faad17679c5214d42d8b0bb}\label{gsttensor__sparsedec_8h_a5f5732451faad17679c5214d42d8b0bb}} 
\index{gsttensor\_sparsedec.h@{gsttensor\_sparsedec.h}!gst\_tensor\_sparse\_dec\_get\_type@{gst\_tensor\_sparse\_dec\_get\_type}}
\index{gst\_tensor\_sparse\_dec\_get\_type@{gst\_tensor\_sparse\_dec\_get\_type}!gsttensor\_sparsedec.h@{gsttensor\_sparsedec.h}}
\doxysubsubsection{\texorpdfstring{gst\_tensor\_sparse\_dec\_get\_type()}{gst\_tensor\_sparse\_dec\_get\_type()}}
{\footnotesize\ttfamily G\+Type gst\+\_\+tensor\+\_\+sparse\+\_\+dec\+\_\+get\+\_\+type (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})}



Function to get type of tensor\+\_\+sparse. 

