12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- \TODO{some text}
- \section{Input File Format}\label{sec:inputFileFormat}
- The input to \appname is a JSON file.
- The data structure is modeled as a higher order entity relationship model in figure~\ref{fig:iff}.
- An example is displayed in figure~\ref{fig:json-example}
- \begin{figure}[tp]
- \centering
- \includegraphics[width=0.9\textwidth]{img/json.png}
- \caption[Input file format]{Input file format illustrated as a HERM diagram}
- \label{fig:iff}
- \end{figure}
- \begin{figure}
- % \lstinputlisting[language=Python,emph={Conv2D,MaxPooling2D,Dropout,Flatten,Sequential,Dense}]{src/keras_example_conv.py}
- \begin{lstlisting}[language=json,emph={Conv2D,MaxPooling2D,Dropout,Flatten,Sequential,Dense}]
- {
- "layers":[
- [
- {
- "name":"n2",
- "width":10,
- "height":10,
- "x":0,
- "y":0
- },
- {
- "name":"n2",
- "width":10,
- "height":10,
- "x":20,
- "y":0,
- "layers":[
- [
- {
- "name":"n2",
- "width":10,
- "height":10,
- "x":0,
- "y":0
- }
- ]
- ]
- }
- ]
- ],
- "name":"n0"
- }
- \end{lstlisting}
- \caption[Example Input File]{Example Input file that is understood by \appname.}
- \label{fig:json-example}
- \end{figure}
|