]> begriffs open source - cmsis/blob - main/Stream/html/index.html
Update documentation for branch main
[cmsis] / main / Stream / html / index.html
1 <!-- HTML header for doxygen 1.9.6-->
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
4 <head>
5 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
6 <meta http-equiv="X-UA-Compatible" content="IE=11"/>
7 <meta name="viewport" content="width=device-width, initial-scale=1"/>
8 <title>CMSIS-Stream: CMSIS-Stream</title>
9 <link href="doxygen.css" rel="stylesheet" type="text/css"/>
10 <link href="tabs.css" rel="stylesheet" type="text/css"/>
11 <link href="extra_navtree.css" rel="stylesheet" type="text/css"/>
12 <link href="extra_stylesheet.css" rel="stylesheet" type="text/css"/>
13 <link href="extra_search.css" rel="stylesheet" type="text/css"/>
14 <script type="text/javascript" src="jquery.js"></script>
15 <script type="text/javascript" src="dynsections.js"></script>
16 <script type="text/javascript" src="printComponentTabs.js"></script>
17 <script type="text/javascript" src="footer.js"></script>
18 <script type="text/javascript" src="navtree.js"></script>
19 <link href="navtree.css" rel="stylesheet" type="text/css"/>
20 <script type="text/javascript" src="resize.js"></script>
21 <script type="text/javascript" src="navtreedata.js"></script>
22 <script type="text/javascript" src="navtree.js"></script>
23 <link href="search/search.css" rel="stylesheet" type="text/css"/>
24 <script type="text/javascript" src="search/searchdata.js"></script>
25 <script type="text/javascript" src="search/search.js"></script>
26 <script type="text/javascript">
27 /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
28   $(document).ready(function() { init_search(); });
29 /* @license-end */
30 </script>
31 <script type="text/javascript" src="darkmode_toggle.js"></script>
32 <link href="extra_stylesheet.css" rel="stylesheet" type="text/css"/>
33 <link href="extra_navtree.css" rel="stylesheet" type="text/css"/>
34 <link href="extra_search.css" rel="stylesheet" type="text/css"/>
35 <link href="version.css" rel="stylesheet" type="text/css" />
36 <script type="text/javascript" src="../../version.js"></script>
37 </head>
38 <body>
39 <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
40 <div id="titlearea">
41 <table cellspacing="0" cellpadding="0">
42  <tbody>
43  <tr style="height: 55px;">
44   <td id="projectlogo" style="padding: 1.5em;"><img alt="Logo" src="cmsis_logo_white_small.png"/></td>
45   <td style="padding-left: 1em; padding-bottom: 1em;padding-top: 1em;">
46    <div id="projectname">CMSIS-Stream
47    </div>
48    <div id="projectbrief">Optimized pipelines for data stream processing</div>
49   </td>
50    <td>        <div id="MSearchBox" class="MSearchBoxInactive">
51         <span class="left">
52           <span id="MSearchSelect"                onmouseover="return searchBox.OnSearchSelectShow()"                onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
53           <input type="text" id="MSearchField" value="" placeholder="Search" accesskey="S"
54                onfocus="searchBox.OnSearchFieldFocus(true)" 
55                onblur="searchBox.OnSearchFieldFocus(false)" 
56                onkeyup="searchBox.OnSearchFieldChange(event)"/>
57           </span><span class="right">
58             <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
59           </span>
60         </div>
61 </td>
62   <!--END !PROJECT_NAME-->
63  </tr>
64  </tbody>
65 </table>
66 </div>
67 <!-- end header part -->
68 <div id="CMSISnav" class="tabs1">
69   <ul class="tablist">
70     <script type="text/javascript">
71       writeComponentTabs.call(this);
72     </script>
73   </ul>
74 </div>
75 <!-- Generated by Doxygen 1.9.6 -->
76 <script type="text/javascript">
77 /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
78 var searchBox = new SearchBox("searchBox", "search/",'.html');
79 /* @license-end */
80 </script>
81 </div><!-- top -->
82 <div id="side-nav" class="ui-resizable side-nav-resizable">
83   <div id="nav-tree">
84     <div id="nav-tree-contents">
85       <div id="nav-sync" class="sync"></div>
86     </div>
87   </div>
88   <div id="splitbar" style="-moz-user-select:none;" 
89        class="ui-resizable-handle">
90   </div>
91 </div>
92 <script type="text/javascript">
93 /* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
94 $(document).ready(function(){initNavTree('index.html',''); initResizable(); });
95 /* @license-end */
96 </script>
97 <div id="doc-content">
98 <!-- window showing the filter options -->
99 <div id="MSearchSelectWindow"
100      onmouseover="return searchBox.OnSearchSelectShow()"
101      onmouseout="return searchBox.OnSearchSelectHide()"
102      onkeydown="return searchBox.OnSearchSelectKey(event)">
103 </div>
104
105 <!-- iframe showing the search results (closed by default) -->
106 <div id="MSearchResultsWindow">
107 <div id="MSearchResults">
108 <div class="SRPage">
109 <div id="SRIndex">
110 <div id="SRResults"></div>
111 <div class="SRStatus" id="Loading">Loading...</div>
112 <div class="SRStatus" id="Searching">Searching...</div>
113 <div class="SRStatus" id="NoMatches">No Matches</div>
114 </div>
115 </div>
116 </div>
117 </div>
118
119 <div><div class="header">
120   <div class="headertitle"><div class="title">CMSIS-Stream </div></div>
121 </div><!--header-->
122 <div class="contents">
123 <div class="textblock"><p><a class="anchor" id="mainpage"></a> <b>CMSIS-Stream</b> is a Python package that provides methods, interfaces, and tools to optimize data block streaming between processing steps of a DSP/ML application.</p>
124 <h1><a class="anchor" id="autotoc_md0"></a>
125 Access to CMSIS-Stream</h1>
126 <ul>
127 <li><a href="https://github.com/ARM-software/cmsis-stream"><b>CMSIS-Stream GitHub Repo</b></a> - provides templates, usage examples, and access to documentation.</li>
128 <li><a href="https://pypi.org/project/cmsis-stream/"><b>CMSIS-Stream Python package</b></a> - provides easy access to tools via standard Python delivery system.</li>
129 </ul>
130 <h1><a class="anchor" id="autotoc_md1"></a>
131 Benefits</h1>
132 <ul>
133 <li>CMSIS-Stream enables a modular design that makes it easier to develop and maintain DSP pipelines.</li>
134 <li>The provided tools generate at build time an optimized scheduling of the processing nodes with minimized memory overhead.</li>
135 <li>Creates an easy to understand representation of the design visualized with a compute graph.</li>
136 </ul>
137 <h1><a class="anchor" id="autotoc_md2"></a>
138 Components</h1>
139 <p>The components of CMSIS-Stream are:</p>
140 <ul>
141 <li><b>Compute Graph</b> is the decomposition of the application in a directed graph that shows the data flow between processing nodes. It describes the data formats, FIFO buffers, data streams, and processing steps using a Python script file.</li>
142 <li><b>Tools</b> convert the Compute Graph with Python into processing steps at build-time with optimized schedule and memory usage.</li>
143 <li><b>Interfaces</b> header files, templates, and methods for data management (that works also on AMP systems).</li>
144 <li><b>Usage Examples</b> that help a software developer to get started.</li>
145 </ul>
146 <h1><a class="anchor" id="autotoc_md3"></a>
147 Example Compute Graph</h1>
148 <p>The diagram below shows a Compute Graph with four nodes:</p>
149 <ul>
150 <li>A source generating 5 values in with data type <code>q15</code> each time it is run.</li>
151 <li>A processing node (Filter) consuming and producing 7 values with data type <code>q15</code> each time it is run.</li>
152 <li>A processing node (Detector) consuming 5 values with data type <code>q15</code> and producing 2 values with data type <code>f32</code> each it is run.</li>
153 <li>A sink consuming 10 values with data type <code>f32</code> each time it is run.</li>
154 </ul>
155 <div class="image">
156 <img src="Compute-Graph-Sample.png" alt=""/>
157 <div class="caption">
158 Sample Compute Graph</div></div>
159     <p>This Compute Graph is described with a Python script file that defines the nodes and their connections. This Python script computes a C++ implementation with static schedule and correctly sized memory buffers between each node. Nodes that are implemented in C are integrated using C++ wrappers.</p>
160 <h1><a class="anchor" id="autotoc_md4"></a>
161 Complex DSP Pipelines</h1>
162 <p>CMSIS-Stream gives the developer a toolbox that allows to create optimized DSP pipelines, that are for example required to optimize machine learning (ML) software stacks. With a Compute Graph complex DSP pipelines like shown in the diagram below can be described. By optimizing signal conditioning and feature extraction, the complexity of the ML classifier. More DSP pre-processing helps therefore lowering the overall performance that is required for a ML application.</p>
163 <div class="image">
164 <img src="ML-Stack.png" alt=""/>
165 <div class="caption">
166 Example Machine Learning Stack</div></div>
167      </div></div><!-- PageDoc -->
168 </div><!-- contents -->
169 </div><!-- doc-content -->
170 <!-- start footer part -->
171 <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
172   <ul>
173     <li class="footer">
174       <script type="text/javascript">
175         <!--
176         writeFooter.call(this);
177         //-->
178       </script> 
179     </li>
180   </ul>
181 </div>
182 </body>
183 </html>