Skip to content

Commit f9faa29

Browse files
FargkJaccovG
authored andcommitted
The new structure of documentation
1 parent 2a02348 commit f9faa29

File tree

213 files changed

+5130
-4892
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

213 files changed

+5130
-4892
lines changed

doc/Makefile

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Minimal makefile for Sphinx documentation
2+
#
3+
4+
# You can set these variables from the command line.
5+
SPHINXOPTS =
6+
SPHINXBUILD = python -msphinx
7+
SPHINXPROJ = embARC_MLI_Library
8+
SOURCEDIR = documents
9+
BUILDDIR = build
10+
11+
# Put it first so that "make" without argument is like "make help".
12+
help:
13+
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
14+
15+
.PHONY: help Makefile
16+
17+
# Catch-all target: route all unknown targets to Sphinx using the new
18+
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
19+
%: Makefile
20+
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
/* override table width restrictions */
2+
@media screen and (min-width: 767px) {
3+
4+
.wy-table-responsive table td,
5+
.wy-table-responsive table th {
6+
/* !important prevents the common CSS stylesheets from overriding
7+
* this as on RTD they are loaded after this stylesheet */
8+
white-space: normal !important;
9+
}
10+
11+
.wy-table-responsive {
12+
overflow: visible !important;
13+
}
14+
}
15+
16+
@media screen {
17+
.wy-side-nav-search {
18+
background-color: #5a2a82;
19+
}
20+
21+
.wy-side-nav-search>div.version {
22+
color: #b1b3b3;
23+
}
24+
25+
.wy-nav-side {
26+
background-color: #2e3b4e;
27+
}
28+
29+
.wy-nav-content {
30+
background-color: #f7f7fa;
31+
}
32+
33+
body {
34+
background-color: #f0f0f4;
35+
}
36+
37+
.wy-side-nav-search::before {
38+
content: "";
39+
background-image: url("synopsys_wht.png");
40+
width: 230px;
41+
height: 50px;
42+
display: block;
43+
margin: 30px 0 30px 25px;
44+
}
45+
}
6.47 KB
Loading

doc/documents/conf.py

Lines changed: 215 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,215 @@
1+
# -*- coding: utf-8 -*-
2+
#
3+
# ML_RST documentation build configuration file, created by
4+
# sphinx-quickstart on Fri Feb 15 10:54:05 2019.
5+
#
6+
# This file is execfile()d with the current directory set to its
7+
# containing dir.
8+
#
9+
# Note that not all possible configuration values are present in this
10+
# autogenerated file.
11+
#
12+
# All configuration values have a default; values that are commented out
13+
# serve to show the default.
14+
15+
# If extensions (or modules to document with autodoc) are in another directory,
16+
# add these directories to sys.path here. If the directory is relative to the
17+
# documentation root, use os.path.abspath to make it absolute, like shown here.
18+
#
19+
# import os
20+
# import sys
21+
# sys.path.insert(0, os.path.abspath('.'))
22+
23+
24+
# -- General configuration ------------------------------------------------
25+
26+
# If your documentation needs a minimal Sphinx version, state it here.
27+
#
28+
# needs_sphinx = '1.0'
29+
30+
# Add any Sphinx extension module names here, as strings. They can be
31+
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
32+
# ones.
33+
extensions = ['sphinx.ext.doctest',
34+
'sphinx.ext.intersphinx',
35+
'sphinx.ext.todo',
36+
'sphinx.ext.coverage',
37+
'sphinx.ext.mathjax',
38+
'sphinx.ext.ifconfig',
39+
'sphinx.ext.viewcode',
40+
'sphinx.ext.githubpages']
41+
42+
# Add any paths that contain templates here, relative to this directory.
43+
templates_path = ['_templates']
44+
45+
# The suffix(es) of source filenames.
46+
# You can specify multiple suffix as a list of string:
47+
#
48+
# source_suffix = ['.rst', '.md']
49+
source_suffix = '.rst'
50+
51+
# The master toctree document.
52+
master_doc = 'index'
53+
54+
# General information about the project.
55+
project = u'embARC Machine Learning Inference Library'
56+
copyright = u'2019, Synopsys, Inc'
57+
author = u'Synopsys, Inc'
58+
59+
# The version info for the project you're documenting, acts as replacement for
60+
# |version| and |release|, also used in various other places throughout the
61+
# built documents.
62+
#
63+
# The short X.Y version.
64+
version = u'1.00a'
65+
# The full version, including alpha/beta/rc tags.
66+
release = u'1.00a'
67+
68+
# The language for content autogenerated by Sphinx. Refer to documentation
69+
# for a list of supported languages.
70+
#
71+
# This is also used if you do content translation via gettext catalogs.
72+
# Usually you set "language" from the command line for these cases.
73+
language = None
74+
75+
# List of patterns, relative to source directory, that match files and
76+
# directories to ignore when looking for source files.
77+
# This patterns also effect to html_static_path and html_extra_path
78+
exclude_patterns = []
79+
80+
# If true, '()' will be appended to :func: etc. cross-reference text.
81+
add_function_parentheses = True
82+
# The name of the Pygments (syntax highlighting) style to use.
83+
pygments_style = 'sphinx'
84+
85+
# If true, `todo` and `todoList` produce output, else they produce nothing.
86+
todo_include_todos = True
87+
88+
#If true, figures and tables are numbered
89+
numfig = True
90+
91+
# -- Options for HTML output ----------------------------------------------
92+
93+
# The theme to use for HTML and HTML Help pages. See the documentation for
94+
# a list of builtin themes.
95+
#
96+
html_theme = 'sphinx_rtd_theme'
97+
98+
# Theme options are theme-specific and customize the look and feel of a theme
99+
# further. For a list of options available for each theme, see the
100+
# documentation.
101+
#
102+
# html_theme_options = {}
103+
104+
# Add any paths that contain custom static files (such as style sheets) here,
105+
# relative to this directory. They are copied after the builtin static files,
106+
# so a file named "default.css" will overwrite the builtin "default.css".
107+
html_static_path = ['_static']
108+
109+
html_context = {
110+
'css_files': [
111+
'_static/style_overrides.css',
112+
],
113+
}
114+
115+
# Custom sidebar templates, must be a dictionary that maps document names
116+
# to template names.
117+
#
118+
# This is required for the alabaster theme
119+
# refs: http://alabaster.readthedocs.io/en/latest/installation.html#sidebars
120+
#html_sidebars = {}
121+
122+
123+
# -- Options for HTMLHelp output ------------------------------------------
124+
125+
# Output file base name for HTML help builder.
126+
htmlhelp_basename = 'embARC_MLI_Library'
127+
128+
129+
# -- Options for LaTeX output ---------------------------------------------
130+
131+
latex_elements = {
132+
# The paper size ('letterpaper' or 'a4paper').
133+
#
134+
# 'papersize': 'letterpaper',
135+
136+
# The font size ('10pt', '11pt' or '12pt').
137+
#
138+
# 'pointsize': '10pt',
139+
140+
# Additional stuff for the LaTeX preamble.
141+
# Increase limitations on the number of floats.
142+
'preamble': '\usepackage{morefloats}',
143+
'preamble': '\usepackage{float}',
144+
145+
# Latex figure (float) alignment
146+
'figure_align': 'H',
147+
}
148+
149+
# Grouping the document tree into LaTeX files. List of tuples
150+
# (source start file, target name, title,
151+
# author, documentclass [howto, manual, or own class]).
152+
latex_documents = [
153+
(master_doc, 'embARC_MLI_Library.tex', u'embARC Machine Learning Inference Library',
154+
u'Synopsys', 'manual'),
155+
]
156+
157+
158+
# -- Options for manual page output ---------------------------------------
159+
160+
# One entry per manual page. List of tuples
161+
# (source start file, name, description, authors, manual section).
162+
man_pages = [
163+
(master_doc, 'embARC_MLI_Library', u'embARC Machine Learning Inference Library',
164+
[author], 1)
165+
]
166+
167+
168+
# -- Options for Texinfo output -------------------------------------------
169+
170+
# Grouping the document tree into Texinfo files. List of tuples
171+
# (source start file, target name, title, author,
172+
# dir menu entry, description, category)
173+
texinfo_documents = [
174+
(master_doc, 'embARC_MLI_Library', u'embARC Machine Learning Inference Library',
175+
author, 'embARC_MLI_Library', u'embARC Machine Learning Inference Library',
176+
'Miscellaneous'),
177+
]
178+
179+
180+
# Documents to append as an appendix to all manuals.
181+
#texinfo_appendices = []
182+
183+
# If false, no module index is generated.
184+
#texinfo_domain_indices = True
185+
186+
# How to display URL addresses: 'footnote', 'no', or 'inline'.
187+
#texinfo_show_urls = 'footnote'
188+
189+
# If true, do not generate a @detailmenu in the "Top" node's menu.
190+
#texinfo_no_detailmenu = False
191+
192+
# -- Options for Epub output ----------------------------------------------
193+
194+
# Bibliographic Dublin Core info.
195+
#epub_title = project
196+
#epub_author = author
197+
#epub_publisher = author
198+
#epub_copyright = copyright
199+
200+
# The unique identifier of the text. This can be a ISBN number
201+
# or the project homepage.
202+
#
203+
# epub_identifier = ''
204+
205+
# A unique identification for the text.
206+
#
207+
# epub_uid = ''
208+
209+
# A list of files that should not be packed into the epub file.
210+
#epub_exclude_files = ['search.html']
211+
212+
213+
214+
# Example configuration for intersphinx: refer to the Python standard library.
215+
#intersphinx_mapping = {'https://docs.python.org/': None}

doc/documents/final/references.rst

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
.. _refs:
2+
3+
References
4+
==========
5+
6+
[1] Q Notation: https://en.wikipedia.org/wiki/Q_(number_format)
7+
8+
[2] Q Notation tips and tricks: http://x86asm.net/articles/fixed-point-arithmetic-and-tricks/
9+
10+
[3] TensorFlow–Neural Network details: https://www.tensorflow.org/api_guides/python/nn
11+
12+
[4] MetaWare DSP Programming Guide for ARC EM and ARC HS
13+
14+
[5] MetaWare Fixed-Point Reference for ARC EM and ARC HS
15+
16+
[6] Learning Multiple Layers of Features from Tiny Images, Alex Krizhevsky, 2009.
17+
18+
[7] Jia, Yangqing and Shelhamer, Evan and Donahue, Jeff and Karayev, Sergey and Long, Jonathan and Girshick, Ross and Guadarrama, Sergio and Darrell, Trevor. Caffe\: Convolutional Architecture for Fast Feature Embedding. arXiv preprint arXiv\:1408.5093, 2014. See http://caffe.berkeleyvision.org/
19+
20+
[8] Guillaume Chevalier, LSTMs for Human Activity Recognition, 2016: https://github.com/guillaume-chevalier/LSTM-Human-Activity-Recognition
21+
22+
[9] Davide Anguita, Alessandro Ghio, Luca Oneto, Xavier Parra and Jorge L. Reyes-Ortiz. A Public Domain Dataset for Human Activity Recognition Using Smartphones. 21th European Symposium on Artificial Neural Networks, Computational Intelligence and Machine Learning, ESANN 2013. Bruges, Belgium 24-26 April 2013. See https://www.elen.ucl.ac.be/Proceedings/esann/esannpdf/es2013-84.pdf
23+
24+
..
25+
26+

0 commit comments

Comments
 (0)