\hypertarget{iteration__queue_8h}{}\doxysection{dataset/iteration\+\_\+queue.h File Reference}
\label{iteration__queue_8h}\index{dataset/iteration\_queue.h@{dataset/iteration\_queue.h}}


This file contains thread safe queue for a single iteration.  


{\ttfamily \#include $<$atomic$>$}\newline
{\ttfamily \#include $<$condition\+\_\+variable$>$}\newline
{\ttfamily \#include $<$functional$>$}\newline
{\ttfamily \#include $<$memory$>$}\newline
{\ttfamily \#include $<$queue$>$}\newline
{\ttfamily \#include $<$shared\+\_\+mutex$>$}\newline
{\ttfamily \#include $<$stdexcept$>$}\newline
{\ttfamily \#include $<$tuple$>$}\newline
{\ttfamily \#include $<$data\+\_\+iteration.\+h$>$}\newline
{\ttfamily \#include $<$data\+\_\+producer.\+h$>$}\newline
{\ttfamily \#include $<$nntrainer\+\_\+log.\+h$>$}\newline
{\ttfamily \#include $<$tensor.\+h$>$}\newline
{\ttfamily \#include $<$tensor\+\_\+dim.\+h$>$}\newline
Include dependency graph for iteration\+\_\+queue.\+h\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{iteration__queue_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=233pt]{iteration__queue_8h__dep__incl}
\end{center}
\end{figure}
\doxysubsection*{Classes}
\begin{DoxyCompactItemize}
\item 
class \mbox{\hyperlink{classnntrainer_1_1ViewQueue}{nntrainer\+::\+View\+Queue$<$ T $>$}}
\begin{DoxyCompactList}\small\item\em Thread Safe Queue implementation dedicated for the non-\/owing pointer. \end{DoxyCompactList}\item 
class \mbox{\hyperlink{classnntrainer_1_1ScopedView}{nntrainer\+::\+Scoped\+View$<$ T $>$}}
\begin{DoxyCompactList}\small\item\em A view container that calls a callback on destruct. \end{DoxyCompactList}\item 
class \mbox{\hyperlink{classnntrainer_1_1IterationQueue}{nntrainer\+::\+Iteration\+Queue}}
\begin{DoxyCompactList}\small\item\em \mbox{\hyperlink{classnntrainer_1_1Iteration}{Iteration}} queue that owns the buffer for input / labels. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Namespaces}
\begin{DoxyCompactItemize}
\item 
 \mbox{\hyperlink{namespacenntrainer}{nntrainer}}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
This file contains thread safe queue for a single iteration. 

Copyright (C) 2021 Jihoon Lee \href{mailto:jhoon.it.lee@samsung.com}{\texttt{ jhoon.\+it.\+lee@samsung.\+com}}

\begin{DoxyDate}{Date}
13 July 2021 
\end{DoxyDate}
\begin{DoxySeeAlso}{See also}
\href{https://github.com/nnstreamer/nntrainer}{\texttt{ https\+://github.\+com/nnstreamer/nntrainer}} 
\end{DoxySeeAlso}
\begin{DoxyAuthor}{Author}
Jihoon Lee \href{mailto:jhoon.it.lee@samsung.com}{\texttt{ jhoon.\+it.\+lee@samsung.\+com}} 
\end{DoxyAuthor}
\begin{DoxyRefDesc}{Bug}
\item[\mbox{\hyperlink{bug__bug000049}{Bug}}]No known bugs except for N\+YI items\end{DoxyRefDesc}
