\hypertarget{struct__GstTensorTrainer}{}\doxysection{\+\_\+\+Gst\+Tensor\+Trainer Struct Reference}
\label{struct__GstTensorTrainer}\index{\_GstTensorTrainer@{\_GstTensorTrainer}}


Gst\+Tensor\+Trainer data structure.  




{\ttfamily \#include $<$gsttensor\+\_\+trainer.\+h$>$}



Collaboration diagram for \+\_\+\+Gst\+Tensor\+Trainer\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{struct__GstTensorTrainer__coll__graph}
\end{center}
\end{figure}
\doxysubsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
Gst\+Element \mbox{\hyperlink{struct__GstTensorTrainer_ad1e65d4503d22331945f453f41f8a5db}{element}}
\item 
Gst\+Pad $\ast$ \mbox{\hyperlink{struct__GstTensorTrainer_a0839917372a6ede994b2e4f930395acd}{sinkpad}}
\item 
Gst\+Pad $\ast$ \mbox{\hyperlink{struct__GstTensorTrainer_a95988b7ea520ec3eb3c796c690f4b19b}{srcpad}}
\item 
gchar $\ast$ \mbox{\hyperlink{struct__GstTensorTrainer_a4a62c9529c2146a5e0f690de6a6dbaa0}{fw\+\_\+name}}
\item 
gboolean \mbox{\hyperlink{struct__GstTensorTrainer_af5bf185c28a80bf95038e6039bbbfc76}{fw\+\_\+created}}
\item 
gboolean \mbox{\hyperlink{struct__GstTensorTrainer_aa5ca96928cb2bdc6297fc54c15e780eb}{is\+\_\+training\+\_\+complete}}
\item 
gboolean \mbox{\hyperlink{struct__GstTensorTrainer_a205e4bb7f2b4dd93d5b03963eba6057a}{is\+\_\+epoch\+\_\+complete}}
\item 
\mbox{\hyperlink{structGstTensorMemory}{Gst\+Tensor\+Memory}} \mbox{\hyperlink{struct__GstTensorTrainer_a6740dddbd57299a156b68ed63372b9cd}{input\+\_\+tensors}} \mbox{[}\mbox{\hyperlink{tensor__typedef_8h_a5da7b8fff3cc3b384068991a8219671b}{N\+N\+S\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+S\+I\+Z\+E\+\_\+\+L\+I\+M\+IT}}\mbox{]}
\item 
\mbox{\hyperlink{structGstTensorsInfo}{Gst\+Tensors\+Info}} \mbox{\hyperlink{struct__GstTensorTrainer_a4db4c0fedb82efe335fe2c9bf175b5f3}{output\+\_\+meta}}
\item 
\mbox{\hyperlink{structGstTensorsConfig}{Gst\+Tensors\+Config}} \mbox{\hyperlink{struct__GstTensorTrainer_ade20f35e29ea212188e978d7342d0ac0}{out\+\_\+config}}
\item 
\mbox{\hyperlink{structGstTensorsConfig}{Gst\+Tensors\+Config}} \mbox{\hyperlink{struct__GstTensorTrainer_ad1bccce8a37f77a4d3bc17306e2ecd54}{in\+\_\+config}}
\item 
guint \mbox{\hyperlink{struct__GstTensorTrainer_a843727037c66155d7dbcaff3dafa0108}{required\+\_\+sample}}
\item 
guint \mbox{\hyperlink{struct__GstTensorTrainer_a7f70f2bf8633a96ed80571e91fcaa09e}{cur\+\_\+epoch\+\_\+data\+\_\+cnt}}
\item 
void $\ast$ \mbox{\hyperlink{struct__GstTensorTrainer_a32b946e070d86f6a63cd690bf900b216}{private\+Data}}
\item 
const \mbox{\hyperlink{nnstreamer__plugin__api__trainer_8h_ac349cd79cfa1849ccec1b439cf4178d4}{Gst\+Tensor\+Trainer\+Framework}} $\ast$ \mbox{\hyperlink{struct__GstTensorTrainer_a6af1dc5be3711536792c641a107b7c09}{fw}}
\item 
\mbox{\hyperlink{nnstreamer__plugin__api__trainer_8h_a2608a46bb1180136135ced9a29eb822d}{Gst\+Tensor\+Trainer\+Properties}} \mbox{\hyperlink{struct__GstTensorTrainer_a204c8a6faa4f91db60d9babfdd0b289c}{prop}}
\item 
\mbox{\hyperlink{nnstreamer__plugin__api__trainer_8h_a7fb58afa4d009e4e4fd4fd96919e79cf}{Gst\+Tensor\+Trainer\+Event\+Notifier}} \mbox{\hyperlink{struct__GstTensorTrainer_a3fae018f7423e0b627d4c2fb588d129c}{notifier}}
\item 
G\+Mutex \mbox{\hyperlink{struct__GstTensorTrainer_aa2778c77d6e65aeef42ddfeb0be0c613}{training\+\_\+completion\+\_\+lock}}
\item 
G\+Cond \mbox{\hyperlink{struct__GstTensorTrainer_ad6a05a3eaac4b40d04362f37c050c45d}{training\+\_\+completion\+\_\+cond}}
\item 
G\+Mutex \mbox{\hyperlink{struct__GstTensorTrainer_ad8794820c8aa4f05f8a88259c18753ac}{epoch\+\_\+completion\+\_\+lock}}
\item 
G\+Cond \mbox{\hyperlink{struct__GstTensorTrainer_a2577760564be9eb6f9edbe908837a06a}{epoch\+\_\+completion\+\_\+cond}}
\item 
G\+Thread $\ast$ \mbox{\hyperlink{struct__GstTensorTrainer_a0eb3614a4cc31a202531b02435f975f8}{dummy\+\_\+data\+\_\+thread}}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Gst\+Tensor\+Trainer data structure. 

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



\doxysubsection{Member Data Documentation}
\mbox{\Hypertarget{struct__GstTensorTrainer_a7f70f2bf8633a96ed80571e91fcaa09e}\label{struct__GstTensorTrainer_a7f70f2bf8633a96ed80571e91fcaa09e}} 
\index{\_GstTensorTrainer@{\_GstTensorTrainer}!cur\_epoch\_data\_cnt@{cur\_epoch\_data\_cnt}}
\index{cur\_epoch\_data\_cnt@{cur\_epoch\_data\_cnt}!\_GstTensorTrainer@{\_GstTensorTrainer}}
\doxysubsubsection{\texorpdfstring{cur\_epoch\_data\_cnt}{cur\_epoch\_data\_cnt}}
{\footnotesize\ttfamily guint \+\_\+\+Gst\+Tensor\+Trainer\+::cur\+\_\+epoch\+\_\+data\+\_\+cnt}

number of total push data in one eposh 

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

\mbox{\Hypertarget{struct__GstTensorTrainer_a0eb3614a4cc31a202531b02435f975f8}\label{struct__GstTensorTrainer_a0eb3614a4cc31a202531b02435f975f8}} 
\index{\_GstTensorTrainer@{\_GstTensorTrainer}!dummy\_data\_thread@{dummy\_data\_thread}}
\index{dummy\_data\_thread@{dummy\_data\_thread}!\_GstTensorTrainer@{\_GstTensorTrainer}}
\doxysubsubsection{\texorpdfstring{dummy\_data\_thread}{dummy\_data\_thread}}
{\footnotesize\ttfamily G\+Thread$\ast$ \+\_\+\+Gst\+Tensor\+Trainer\+::dummy\+\_\+data\+\_\+thread}

Dummy data generation thread 

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

\mbox{\Hypertarget{struct__GstTensorTrainer_ad1e65d4503d22331945f453f41f8a5db}\label{struct__GstTensorTrainer_ad1e65d4503d22331945f453f41f8a5db}} 
\index{\_GstTensorTrainer@{\_GstTensorTrainer}!element@{element}}
\index{element@{element}!\_GstTensorTrainer@{\_GstTensorTrainer}}
\doxysubsubsection{\texorpdfstring{element}{element}}
{\footnotesize\ttfamily Gst\+Element \+\_\+\+Gst\+Tensor\+Trainer\+::element}

parent object 

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

\mbox{\Hypertarget{struct__GstTensorTrainer_a2577760564be9eb6f9edbe908837a06a}\label{struct__GstTensorTrainer_a2577760564be9eb6f9edbe908837a06a}} 
\index{\_GstTensorTrainer@{\_GstTensorTrainer}!epoch\_completion\_cond@{epoch\_completion\_cond}}
\index{epoch\_completion\_cond@{epoch\_completion\_cond}!\_GstTensorTrainer@{\_GstTensorTrainer}}
\doxysubsubsection{\texorpdfstring{epoch\_completion\_cond}{epoch\_completion\_cond}}
{\footnotesize\ttfamily G\+Cond \+\_\+\+Gst\+Tensor\+Trainer\+::epoch\+\_\+completion\+\_\+cond}



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

\mbox{\Hypertarget{struct__GstTensorTrainer_ad8794820c8aa4f05f8a88259c18753ac}\label{struct__GstTensorTrainer_ad8794820c8aa4f05f8a88259c18753ac}} 
\index{\_GstTensorTrainer@{\_GstTensorTrainer}!epoch\_completion\_lock@{epoch\_completion\_lock}}
\index{epoch\_completion\_lock@{epoch\_completion\_lock}!\_GstTensorTrainer@{\_GstTensorTrainer}}
\doxysubsubsection{\texorpdfstring{epoch\_completion\_lock}{epoch\_completion\_lock}}
{\footnotesize\ttfamily G\+Mutex \+\_\+\+Gst\+Tensor\+Trainer\+::epoch\+\_\+completion\+\_\+lock}



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

\mbox{\Hypertarget{struct__GstTensorTrainer_a6af1dc5be3711536792c641a107b7c09}\label{struct__GstTensorTrainer_a6af1dc5be3711536792c641a107b7c09}} 
\index{\_GstTensorTrainer@{\_GstTensorTrainer}!fw@{fw}}
\index{fw@{fw}!\_GstTensorTrainer@{\_GstTensorTrainer}}
\doxysubsubsection{\texorpdfstring{fw}{fw}}
{\footnotesize\ttfamily const \mbox{\hyperlink{nnstreamer__plugin__api__trainer_8h_ac349cd79cfa1849ccec1b439cf4178d4}{Gst\+Tensor\+Trainer\+Framework}}$\ast$ \+\_\+\+Gst\+Tensor\+Trainer\+::fw}

Subplugin definition 

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

\mbox{\Hypertarget{struct__GstTensorTrainer_af5bf185c28a80bf95038e6039bbbfc76}\label{struct__GstTensorTrainer_af5bf185c28a80bf95038e6039bbbfc76}} 
\index{\_GstTensorTrainer@{\_GstTensorTrainer}!fw\_created@{fw\_created}}
\index{fw\_created@{fw\_created}!\_GstTensorTrainer@{\_GstTensorTrainer}}
\doxysubsubsection{\texorpdfstring{fw\_created}{fw\_created}}
{\footnotesize\ttfamily gboolean \+\_\+\+Gst\+Tensor\+Trainer\+::fw\+\_\+created}



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

\mbox{\Hypertarget{struct__GstTensorTrainer_a4a62c9529c2146a5e0f690de6a6dbaa0}\label{struct__GstTensorTrainer_a4a62c9529c2146a5e0f690de6a6dbaa0}} 
\index{\_GstTensorTrainer@{\_GstTensorTrainer}!fw\_name@{fw\_name}}
\index{fw\_name@{fw\_name}!\_GstTensorTrainer@{\_GstTensorTrainer}}
\doxysubsubsection{\texorpdfstring{fw\_name}{fw\_name}}
{\footnotesize\ttfamily gchar$\ast$ \+\_\+\+Gst\+Tensor\+Trainer\+::fw\+\_\+name}



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

\mbox{\Hypertarget{struct__GstTensorTrainer_ad1bccce8a37f77a4d3bc17306e2ecd54}\label{struct__GstTensorTrainer_ad1bccce8a37f77a4d3bc17306e2ecd54}} 
\index{\_GstTensorTrainer@{\_GstTensorTrainer}!in\_config@{in\_config}}
\index{in\_config@{in\_config}!\_GstTensorTrainer@{\_GstTensorTrainer}}
\doxysubsubsection{\texorpdfstring{in\_config}{in\_config}}
{\footnotesize\ttfamily \mbox{\hyperlink{structGstTensorsConfig}{Gst\+Tensors\+Config}} \+\_\+\+Gst\+Tensor\+Trainer\+::in\+\_\+config}



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

\mbox{\Hypertarget{struct__GstTensorTrainer_a6740dddbd57299a156b68ed63372b9cd}\label{struct__GstTensorTrainer_a6740dddbd57299a156b68ed63372b9cd}} 
\index{\_GstTensorTrainer@{\_GstTensorTrainer}!input\_tensors@{input\_tensors}}
\index{input\_tensors@{input\_tensors}!\_GstTensorTrainer@{\_GstTensorTrainer}}
\doxysubsubsection{\texorpdfstring{input\_tensors}{input\_tensors}}
{\footnotesize\ttfamily \mbox{\hyperlink{structGstTensorMemory}{Gst\+Tensor\+Memory}} \+\_\+\+Gst\+Tensor\+Trainer\+::input\+\_\+tensors\mbox{[}\mbox{\hyperlink{tensor__typedef_8h_a5da7b8fff3cc3b384068991a8219671b}{N\+N\+S\+\_\+\+T\+E\+N\+S\+O\+R\+\_\+\+S\+I\+Z\+E\+\_\+\+L\+I\+M\+IT}}\mbox{]}}



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

\mbox{\Hypertarget{struct__GstTensorTrainer_a205e4bb7f2b4dd93d5b03963eba6057a}\label{struct__GstTensorTrainer_a205e4bb7f2b4dd93d5b03963eba6057a}} 
\index{\_GstTensorTrainer@{\_GstTensorTrainer}!is\_epoch\_complete@{is\_epoch\_complete}}
\index{is\_epoch\_complete@{is\_epoch\_complete}!\_GstTensorTrainer@{\_GstTensorTrainer}}
\doxysubsubsection{\texorpdfstring{is\_epoch\_complete}{is\_epoch\_complete}}
{\footnotesize\ttfamily gboolean \+\_\+\+Gst\+Tensor\+Trainer\+::is\+\_\+epoch\+\_\+complete}



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

\mbox{\Hypertarget{struct__GstTensorTrainer_aa5ca96928cb2bdc6297fc54c15e780eb}\label{struct__GstTensorTrainer_aa5ca96928cb2bdc6297fc54c15e780eb}} 
\index{\_GstTensorTrainer@{\_GstTensorTrainer}!is\_training\_complete@{is\_training\_complete}}
\index{is\_training\_complete@{is\_training\_complete}!\_GstTensorTrainer@{\_GstTensorTrainer}}
\doxysubsubsection{\texorpdfstring{is\_training\_complete}{is\_training\_complete}}
{\footnotesize\ttfamily gboolean \+\_\+\+Gst\+Tensor\+Trainer\+::is\+\_\+training\+\_\+complete}



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

\mbox{\Hypertarget{struct__GstTensorTrainer_a3fae018f7423e0b627d4c2fb588d129c}\label{struct__GstTensorTrainer_a3fae018f7423e0b627d4c2fb588d129c}} 
\index{\_GstTensorTrainer@{\_GstTensorTrainer}!notifier@{notifier}}
\index{notifier@{notifier}!\_GstTensorTrainer@{\_GstTensorTrainer}}
\doxysubsubsection{\texorpdfstring{notifier}{notifier}}
{\footnotesize\ttfamily \mbox{\hyperlink{nnstreamer__plugin__api__trainer_8h_a7fb58afa4d009e4e4fd4fd96919e79cf}{Gst\+Tensor\+Trainer\+Event\+Notifier}} \+\_\+\+Gst\+Tensor\+Trainer\+::notifier}

Event notifier 

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

\mbox{\Hypertarget{struct__GstTensorTrainer_ade20f35e29ea212188e978d7342d0ac0}\label{struct__GstTensorTrainer_ade20f35e29ea212188e978d7342d0ac0}} 
\index{\_GstTensorTrainer@{\_GstTensorTrainer}!out\_config@{out\_config}}
\index{out\_config@{out\_config}!\_GstTensorTrainer@{\_GstTensorTrainer}}
\doxysubsubsection{\texorpdfstring{out\_config}{out\_config}}
{\footnotesize\ttfamily \mbox{\hyperlink{structGstTensorsConfig}{Gst\+Tensors\+Config}} \+\_\+\+Gst\+Tensor\+Trainer\+::out\+\_\+config}



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

\mbox{\Hypertarget{struct__GstTensorTrainer_a4db4c0fedb82efe335fe2c9bf175b5f3}\label{struct__GstTensorTrainer_a4db4c0fedb82efe335fe2c9bf175b5f3}} 
\index{\_GstTensorTrainer@{\_GstTensorTrainer}!output\_meta@{output\_meta}}
\index{output\_meta@{output\_meta}!\_GstTensorTrainer@{\_GstTensorTrainer}}
\doxysubsubsection{\texorpdfstring{output\_meta}{output\_meta}}
{\footnotesize\ttfamily \mbox{\hyperlink{structGstTensorsInfo}{Gst\+Tensors\+Info}} \+\_\+\+Gst\+Tensor\+Trainer\+::output\+\_\+meta}



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

\mbox{\Hypertarget{struct__GstTensorTrainer_a32b946e070d86f6a63cd690bf900b216}\label{struct__GstTensorTrainer_a32b946e070d86f6a63cd690bf900b216}} 
\index{\_GstTensorTrainer@{\_GstTensorTrainer}!privateData@{privateData}}
\index{privateData@{privateData}!\_GstTensorTrainer@{\_GstTensorTrainer}}
\doxysubsubsection{\texorpdfstring{privateData}{privateData}}
{\footnotesize\ttfamily void$\ast$ \+\_\+\+Gst\+Tensor\+Trainer\+::private\+Data}

N\+N\+FW plugin\textquotesingle{}s private data is stored here 

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

\mbox{\Hypertarget{struct__GstTensorTrainer_a204c8a6faa4f91db60d9babfdd0b289c}\label{struct__GstTensorTrainer_a204c8a6faa4f91db60d9babfdd0b289c}} 
\index{\_GstTensorTrainer@{\_GstTensorTrainer}!prop@{prop}}
\index{prop@{prop}!\_GstTensorTrainer@{\_GstTensorTrainer}}
\doxysubsubsection{\texorpdfstring{prop}{prop}}
{\footnotesize\ttfamily \mbox{\hyperlink{nnstreamer__plugin__api__trainer_8h_a2608a46bb1180136135ced9a29eb822d}{Gst\+Tensor\+Trainer\+Properties}} \+\_\+\+Gst\+Tensor\+Trainer\+::prop}

N\+N\+FW plugin\textquotesingle{}s properties 

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

\mbox{\Hypertarget{struct__GstTensorTrainer_a843727037c66155d7dbcaff3dafa0108}\label{struct__GstTensorTrainer_a843727037c66155d7dbcaff3dafa0108}} 
\index{\_GstTensorTrainer@{\_GstTensorTrainer}!required\_sample@{required\_sample}}
\index{required\_sample@{required\_sample}!\_GstTensorTrainer@{\_GstTensorTrainer}}
\doxysubsubsection{\texorpdfstring{required\_sample}{required\_sample}}
{\footnotesize\ttfamily guint \+\_\+\+Gst\+Tensor\+Trainer\+::required\+\_\+sample}



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

\mbox{\Hypertarget{struct__GstTensorTrainer_a0839917372a6ede994b2e4f930395acd}\label{struct__GstTensorTrainer_a0839917372a6ede994b2e4f930395acd}} 
\index{\_GstTensorTrainer@{\_GstTensorTrainer}!sinkpad@{sinkpad}}
\index{sinkpad@{sinkpad}!\_GstTensorTrainer@{\_GstTensorTrainer}}
\doxysubsubsection{\texorpdfstring{sinkpad}{sinkpad}}
{\footnotesize\ttfamily Gst\+Pad$\ast$ \+\_\+\+Gst\+Tensor\+Trainer\+::sinkpad}



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

\mbox{\Hypertarget{struct__GstTensorTrainer_a95988b7ea520ec3eb3c796c690f4b19b}\label{struct__GstTensorTrainer_a95988b7ea520ec3eb3c796c690f4b19b}} 
\index{\_GstTensorTrainer@{\_GstTensorTrainer}!srcpad@{srcpad}}
\index{srcpad@{srcpad}!\_GstTensorTrainer@{\_GstTensorTrainer}}
\doxysubsubsection{\texorpdfstring{srcpad}{srcpad}}
{\footnotesize\ttfamily Gst\+Pad$\ast$ \+\_\+\+Gst\+Tensor\+Trainer\+::srcpad}



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

\mbox{\Hypertarget{struct__GstTensorTrainer_ad6a05a3eaac4b40d04362f37c050c45d}\label{struct__GstTensorTrainer_ad6a05a3eaac4b40d04362f37c050c45d}} 
\index{\_GstTensorTrainer@{\_GstTensorTrainer}!training\_completion\_cond@{training\_completion\_cond}}
\index{training\_completion\_cond@{training\_completion\_cond}!\_GstTensorTrainer@{\_GstTensorTrainer}}
\doxysubsubsection{\texorpdfstring{training\_completion\_cond}{training\_completion\_cond}}
{\footnotesize\ttfamily G\+Cond \+\_\+\+Gst\+Tensor\+Trainer\+::training\+\_\+completion\+\_\+cond}



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

\mbox{\Hypertarget{struct__GstTensorTrainer_aa2778c77d6e65aeef42ddfeb0be0c613}\label{struct__GstTensorTrainer_aa2778c77d6e65aeef42ddfeb0be0c613}} 
\index{\_GstTensorTrainer@{\_GstTensorTrainer}!training\_completion\_lock@{training\_completion\_lock}}
\index{training\_completion\_lock@{training\_completion\_lock}!\_GstTensorTrainer@{\_GstTensorTrainer}}
\doxysubsubsection{\texorpdfstring{training\_completion\_lock}{training\_completion\_lock}}
{\footnotesize\ttfamily G\+Mutex \+\_\+\+Gst\+Tensor\+Trainer\+::training\+\_\+completion\+\_\+lock}



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



The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
nnstreamer/elements/\mbox{\hyperlink{gsttensor__trainer_8h}{gsttensor\+\_\+trainer.\+h}}\end{DoxyCompactItemize}
