\hypertarget{gsttensor__trainer_8h}{}\doxysection{nnstreamer/elements/gsttensor\+\_\+trainer.h File Reference}
\label{gsttensor__trainer_8h}\index{nnstreamer/elements/gsttensor\_trainer.h@{nnstreamer/elements/gsttensor\_trainer.h}}


G\+Streamer plugin to train tensor data using NN Frameworks.  


{\ttfamily \#include $<$gst/gst.\+h$>$}\newline
{\ttfamily \#include $<$tensor\+\_\+typedef.\+h$>$}\newline
{\ttfamily \#include $<$tensor\+\_\+common.\+h$>$}\newline
{\ttfamily \#include $<$nnstreamer\+\_\+plugin\+\_\+api\+\_\+util.\+h$>$}\newline
{\ttfamily \#include $<$nnstreamer\+\_\+plugin\+\_\+api\+\_\+trainer.\+h$>$}\newline
Include dependency graph for gsttensor\+\_\+trainer.\+h\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{gsttensor__trainer_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=344pt]{gsttensor__trainer_8h__dep__incl}
\end{center}
\end{figure}
\doxysubsection*{Classes}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{struct__GstTensorTrainer}{\+\_\+\+Gst\+Tensor\+Trainer}}
\begin{DoxyCompactList}\small\item\em Gst\+Tensor\+Trainer data structure. \end{DoxyCompactList}\item 
struct \mbox{\hyperlink{struct__GstTensorTrainerClass}{\+\_\+\+Gst\+Tensor\+Trainer\+Class}}
\begin{DoxyCompactList}\small\item\em Gst\+Tensor\+Trainer\+Class data structure. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{gsttensor__trainer_8h_a06d8b3d254611d0a79f93c0e5d46ee5f}{G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+T\+R\+A\+I\+N\+ER}}~(\mbox{\hyperlink{gsttensor__trainer_8h_ae98366e751af35b07e55320ad524599a}{gst\+\_\+tensor\+\_\+trainer\+\_\+get\+\_\+type}}())
\item 
\#define \mbox{\hyperlink{gsttensor__trainer_8h_a006c2d9503f54185dd17ed030db6ac36}{G\+S\+T\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+T\+R\+A\+I\+N\+ER}}(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__trainer_8h_a06d8b3d254611d0a79f93c0e5d46ee5f}{G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+T\+R\+A\+I\+N\+ER}},\mbox{\hyperlink{gsttensor__trainer_8h_adbf7c1a90b920e0cb08a16dcde61a28b}{Gst\+Tensor\+Trainer}}))
\item 
\#define \mbox{\hyperlink{gsttensor__trainer_8h_a6c313075c49e57fd711b498d172336dc}{G\+S\+T\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+T\+R\+A\+I\+N\+E\+R\+\_\+\+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__trainer_8h_a06d8b3d254611d0a79f93c0e5d46ee5f}{G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+T\+R\+A\+I\+N\+ER}},\mbox{\hyperlink{gsttensor__trainer_8h_a1fde3e8bfd3567c91a0e0292e0100f18}{Gst\+Tensor\+Trainer\+Class}}))
\item 
\#define \mbox{\hyperlink{gsttensor__trainer_8h_adfdbf2bca53bc0c2670a419380242b44}{G\+S\+T\+\_\+\+I\+S\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+T\+R\+A\+I\+N\+ER}}(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__trainer_8h_a06d8b3d254611d0a79f93c0e5d46ee5f}{G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+T\+R\+A\+I\+N\+ER}}))
\item 
\#define \mbox{\hyperlink{gsttensor__trainer_8h_acf0bdb39c20ba158dd4abd9a66ebac4a}{G\+S\+T\+\_\+\+I\+S\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+T\+R\+A\+I\+N\+E\+R\+\_\+\+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__trainer_8h_a06d8b3d254611d0a79f93c0e5d46ee5f}{G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+T\+R\+A\+I\+N\+ER}}))
\end{DoxyCompactItemize}
\doxysubsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef struct \mbox{\hyperlink{struct__GstTensorTrainer}{\+\_\+\+Gst\+Tensor\+Trainer}} \mbox{\hyperlink{gsttensor__trainer_8h_adbf7c1a90b920e0cb08a16dcde61a28b}{Gst\+Tensor\+Trainer}}
\item 
typedef struct \mbox{\hyperlink{struct__GstTensorTrainerClass}{\+\_\+\+Gst\+Tensor\+Trainer\+Class}} \mbox{\hyperlink{gsttensor__trainer_8h_a1fde3e8bfd3567c91a0e0292e0100f18}{Gst\+Tensor\+Trainer\+Class}}
\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
G\+Type \mbox{\hyperlink{gsttensor__trainer_8h_ae98366e751af35b07e55320ad524599a}{gst\+\_\+tensor\+\_\+trainer\+\_\+get\+\_\+type}} (void)
\begin{DoxyCompactList}\small\item\em Function to get type of tensor\+\_\+trainer. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
G\+Streamer plugin to train tensor data using NN Frameworks. 

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

\begin{DoxyDate}{Date}
20 October 2022 
\end{DoxyDate}
\begin{DoxySeeAlso}{See also}
\href{https://github.com/nnstreamer/nnstreamer}{\texttt{ https\+://github.\+com/nnstreamer/nnstreamer}} 
\end{DoxySeeAlso}
\begin{DoxyAuthor}{Author}
Hyunil Park \href{mailto:hyunil46.park@samsung.com}{\texttt{ hyunil46.\+park@samsung.\+com}} 
\end{DoxyAuthor}
\begin{DoxyRefDesc}{Bug}
\item[\mbox{\hyperlink{bug__bug000067}{Bug}}]No known bugs except for N\+YI items \end{DoxyRefDesc}


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



Definition at line 32 of file gsttensor\+\_\+trainer.\+h.

\mbox{\Hypertarget{gsttensor__trainer_8h_acf0bdb39c20ba158dd4abd9a66ebac4a}\label{gsttensor__trainer_8h_acf0bdb39c20ba158dd4abd9a66ebac4a}} 
\index{gsttensor\_trainer.h@{gsttensor\_trainer.h}!GST\_IS\_TENSOR\_TRAINER\_CLASS@{GST\_IS\_TENSOR\_TRAINER\_CLASS}}
\index{GST\_IS\_TENSOR\_TRAINER\_CLASS@{GST\_IS\_TENSOR\_TRAINER\_CLASS}!gsttensor\_trainer.h@{gsttensor\_trainer.h}}
\doxysubsubsection{\texorpdfstring{GST\_IS\_TENSOR\_TRAINER\_CLASS}{GST\_IS\_TENSOR\_TRAINER\_CLASS}}
{\footnotesize\ttfamily \#define G\+S\+T\+\_\+\+I\+S\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+T\+R\+A\+I\+N\+E\+R\+\_\+\+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__trainer_8h_a06d8b3d254611d0a79f93c0e5d46ee5f}{G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+T\+R\+A\+I\+N\+ER}}))}



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

\mbox{\Hypertarget{gsttensor__trainer_8h_a006c2d9503f54185dd17ed030db6ac36}\label{gsttensor__trainer_8h_a006c2d9503f54185dd17ed030db6ac36}} 
\index{gsttensor\_trainer.h@{gsttensor\_trainer.h}!GST\_TENSOR\_TRAINER@{GST\_TENSOR\_TRAINER}}
\index{GST\_TENSOR\_TRAINER@{GST\_TENSOR\_TRAINER}!gsttensor\_trainer.h@{gsttensor\_trainer.h}}
\doxysubsubsection{\texorpdfstring{GST\_TENSOR\_TRAINER}{GST\_TENSOR\_TRAINER}}
{\footnotesize\ttfamily \#define G\+S\+T\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+T\+R\+A\+I\+N\+ER(\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__trainer_8h_a06d8b3d254611d0a79f93c0e5d46ee5f}{G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+T\+R\+A\+I\+N\+ER}},\mbox{\hyperlink{gsttensor__trainer_8h_adbf7c1a90b920e0cb08a16dcde61a28b}{Gst\+Tensor\+Trainer}}))}



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

\mbox{\Hypertarget{gsttensor__trainer_8h_a6c313075c49e57fd711b498d172336dc}\label{gsttensor__trainer_8h_a6c313075c49e57fd711b498d172336dc}} 
\index{gsttensor\_trainer.h@{gsttensor\_trainer.h}!GST\_TENSOR\_TRAINER\_CLASS@{GST\_TENSOR\_TRAINER\_CLASS}}
\index{GST\_TENSOR\_TRAINER\_CLASS@{GST\_TENSOR\_TRAINER\_CLASS}!gsttensor\_trainer.h@{gsttensor\_trainer.h}}
\doxysubsubsection{\texorpdfstring{GST\_TENSOR\_TRAINER\_CLASS}{GST\_TENSOR\_TRAINER\_CLASS}}
{\footnotesize\ttfamily \#define G\+S\+T\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+T\+R\+A\+I\+N\+E\+R\+\_\+\+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__trainer_8h_a06d8b3d254611d0a79f93c0e5d46ee5f}{G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+T\+R\+A\+I\+N\+ER}},\mbox{\hyperlink{gsttensor__trainer_8h_a1fde3e8bfd3567c91a0e0292e0100f18}{Gst\+Tensor\+Trainer\+Class}}))}



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

\mbox{\Hypertarget{gsttensor__trainer_8h_a06d8b3d254611d0a79f93c0e5d46ee5f}\label{gsttensor__trainer_8h_a06d8b3d254611d0a79f93c0e5d46ee5f}} 
\index{gsttensor\_trainer.h@{gsttensor\_trainer.h}!GST\_TYPE\_TENSOR\_TRAINER@{GST\_TYPE\_TENSOR\_TRAINER}}
\index{GST\_TYPE\_TENSOR\_TRAINER@{GST\_TYPE\_TENSOR\_TRAINER}!gsttensor\_trainer.h@{gsttensor\_trainer.h}}
\doxysubsubsection{\texorpdfstring{GST\_TYPE\_TENSOR\_TRAINER}{GST\_TYPE\_TENSOR\_TRAINER}}
{\footnotesize\ttfamily \#define G\+S\+T\+\_\+\+T\+Y\+P\+E\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+T\+R\+A\+I\+N\+ER~(\mbox{\hyperlink{gsttensor__trainer_8h_ae98366e751af35b07e55320ad524599a}{gst\+\_\+tensor\+\_\+trainer\+\_\+get\+\_\+type}}())}



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



\doxysubsection{Typedef Documentation}
\mbox{\Hypertarget{gsttensor__trainer_8h_adbf7c1a90b920e0cb08a16dcde61a28b}\label{gsttensor__trainer_8h_adbf7c1a90b920e0cb08a16dcde61a28b}} 
\index{gsttensor\_trainer.h@{gsttensor\_trainer.h}!GstTensorTrainer@{GstTensorTrainer}}
\index{GstTensorTrainer@{GstTensorTrainer}!gsttensor\_trainer.h@{gsttensor\_trainer.h}}
\doxysubsubsection{\texorpdfstring{GstTensorTrainer}{GstTensorTrainer}}
{\footnotesize\ttfamily typedef struct \mbox{\hyperlink{struct__GstTensorTrainer}{\+\_\+\+Gst\+Tensor\+Trainer}} \mbox{\hyperlink{gsttensor__trainer_8h_adbf7c1a90b920e0cb08a16dcde61a28b}{Gst\+Tensor\+Trainer}}}



Definition at line 37 of file gsttensor\+\_\+trainer.\+h.

\mbox{\Hypertarget{gsttensor__trainer_8h_a1fde3e8bfd3567c91a0e0292e0100f18}\label{gsttensor__trainer_8h_a1fde3e8bfd3567c91a0e0292e0100f18}} 
\index{gsttensor\_trainer.h@{gsttensor\_trainer.h}!GstTensorTrainerClass@{GstTensorTrainerClass}}
\index{GstTensorTrainerClass@{GstTensorTrainerClass}!gsttensor\_trainer.h@{gsttensor\_trainer.h}}
\doxysubsubsection{\texorpdfstring{GstTensorTrainerClass}{GstTensorTrainerClass}}
{\footnotesize\ttfamily typedef struct \mbox{\hyperlink{struct__GstTensorTrainerClass}{\+\_\+\+Gst\+Tensor\+Trainer\+Class}} \mbox{\hyperlink{gsttensor__trainer_8h_a1fde3e8bfd3567c91a0e0292e0100f18}{Gst\+Tensor\+Trainer\+Class}}}



Definition at line 38 of file gsttensor\+\_\+trainer.\+h.



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



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

