\hypertarget{databuffer__factory_8cpp}{}\doxysection{dataset/databuffer\+\_\+factory.cpp File Reference}
\label{databuffer__factory_8cpp}\index{dataset/databuffer\_factory.cpp@{dataset/databuffer\_factory.cpp}}


This is the databuffer factory.  


{\ttfamily \#include $<$databuffer\+\_\+factory.\+h$>$}\newline
{\ttfamily \#include $<$data\+\_\+producer.\+h$>$}\newline
{\ttfamily \#include $<$func\+\_\+data\+\_\+producer.\+h$>$}\newline
{\ttfamily \#include $<$nntrainer\+\_\+error.\+h$>$}\newline
{\ttfamily \#include $<$raw\+\_\+file\+\_\+data\+\_\+producer.\+h$>$}\newline
Include dependency graph for databuffer\+\_\+factory.\+cpp\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{databuffer__factory_8cpp__incl}
\end{center}
\end{figure}
\doxysubsection*{Namespaces}
\begin{DoxyCompactItemize}
\item 
 \mbox{\hyperlink{namespacenntrainer}{nntrainer}}
\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{namespacenntrainer_ad430dfe4b824108ee72a349d1781be43}\label{namespacenntrainer_ad430dfe4b824108ee72a349d1781be43}} 
std\+::unique\+\_\+ptr$<$ Data\+Buffer $>$ \mbox{\hyperlink{namespacenntrainer_ad430dfe4b824108ee72a349d1781be43}{nntrainer\+::create\+Data\+Buffer}} (Dataset\+Type type)
\begin{DoxyCompactList}\small\item\em Factory creator with constructor. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{namespacenntrainer_a410e5e57a029801e7df11e943aff7af2}\label{namespacenntrainer_a410e5e57a029801e7df11e943aff7af2}} 
std\+::unique\+\_\+ptr$<$ Data\+Buffer $>$ \mbox{\hyperlink{namespacenntrainer_a410e5e57a029801e7df11e943aff7af2}{nntrainer\+::create\+Data\+Buffer}} (Dataset\+Type type, const char $\ast$file)
\begin{DoxyCompactList}\small\item\em Factory creator with constructor for dataset. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{namespacenntrainer_a43057240355eeaca0c93b6634a17daeb}\label{namespacenntrainer_a43057240355eeaca0c93b6634a17daeb}} 
std\+::unique\+\_\+ptr$<$ Data\+Buffer $>$ \mbox{\hyperlink{namespacenntrainer_a43057240355eeaca0c93b6634a17daeb}{nntrainer\+::create\+Data\+Buffer}} (Dataset\+Type type, datagen\+\_\+cb cb, void $\ast$user\+\_\+data)
\begin{DoxyCompactList}\small\item\em Factory creator with constructor for dataset. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
This is the databuffer factory. 

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

\begin{DoxyDate}{Date}
11 October 2020 
\end{DoxyDate}
\begin{DoxySeeAlso}{See also}
\href{https://github.com/nnstreamer/nntrainer}{\texttt{ https\+://github.\+com/nnstreamer/nntrainer}} 
\end{DoxySeeAlso}
\begin{DoxyAuthor}{Author}
Parichay Kapoor \href{mailto:pk.kapoor@samsung.com}{\texttt{ pk.\+kapoor@samsung.\+com}} 
\end{DoxyAuthor}
\begin{DoxyRefDesc}{Bug}
\item[\mbox{\hyperlink{bug__bug000042}{Bug}}]No known bugs except for N\+YI items \end{DoxyRefDesc}
