You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Master readme: remove all dev related notes.
- Complemented the list with available examples
- Examples readmes: provided more generic way of building with examples
- DOCS: fix minor typo and link
:warning:**You are using a development branch. Things might be broken. For a proper usage of embARC MLI Library please checkout the [latest release](https://github.com/foss-for-synopsys-dwc-arc-processors/embarc_mli/releases).**
5
-
6
4
This repository contains source code of embARC Machine Learning Inference Library (embARC MLI Library), its documentation and examples. The primary purpose of this library is to enable developers to efficiently implement and/or port data processing algorithms based on machine learning principles for DSP-enhanced ARC Processors.
7
5
8
6
# Table of Content
@@ -23,10 +21,7 @@ This repository contains source code of embARC Machine Learning Inference Librar
23
21
24
22
# Release Notes
25
23
26
-
1. Version 2.0 EA
27
-
* This is the first early access release for embARC MLI 2.0 (MLI 2.0 EA)
28
-
***It is highly recommended to use embARC MLI 2.0 for VPX and x86 emulation targets only. You can use [embARC MLI 1.1](https://github.com/foss-for-synopsys-dwc-arc-processors/embarc_mli/releases/tag/Release_1.1) for EM/HS targets.**
29
-
* Not all kernels are fully optimized
24
+
1. Version 2.0
30
25
31
26
3. This release supports following functional primitives
32
27
* 2D Convolution
@@ -66,9 +61,11 @@ This repository contains source code of embARC Machine Learning Inference Librar
66
61
67
62
# Documentation
68
63
69
-
embARC MLI library API documentation for version 2.0 is available in the [/doc](/doc) directory. It can be built from sources as described in the related [readme file](doc/README.md).
64
+
embARC MLI library API documentation for version 2.0 is [available online](https://foss-for-synopsys-dwc-arc-processors.github.io/embarc_mli/doc/build/html/index.html) starting from the release date.
65
+
66
+
It's sources are available in the [/doc](/doc) directory and can be built as described in the related [readme file](doc/README.md).
67
+
70
68
71
-
The documentation will be available online closer to the final release date.
72
69
73
70
# Package Structure
74
71
@@ -104,7 +101,7 @@ Afterward you can continue with familiarizing yourself with [the documentation](
104
101
105
102
**Note that it is highly recommended to use DBG_MODE_DEBUG configuration option (see [`MLI_DEBUG_MODE`](#mli_debug_mode)) for early development of applications based on embARC MLI Library because it provides additional diagnostic output which can help you quickly track down misuse of the API**.
106
103
107
-
# Building The Package
104
+
# Building the Package
108
105
109
106
The embARC MLI Library uses [CMake](https://cmake.org/) as a backend for the platform independent project generation and [GNU Make](https://www.gnu.org/software/make/) as a front end to invoke CMake and to run tests. Alternatively, after CMake configures the project for the desired platform, you can work with its output stored in `obj` folder as you may be used to.
110
107
@@ -179,7 +176,7 @@ As a result of configuration and build you will find `bin/native` folder with th
179
176
`<Additional options>` which have no effect or do not make sense in this mode are [`BUILDLIB_DIR`](#buildlib_dir), [`MLI_BUILD_REFERENCE`](#mli_build_reference), [`OPTMODE`](#optmode), [`DEBUG_BUILD`](#debug_build).
180
177
181
178
182
-
### **Build Command Examples For x86**
179
+
### **Build Command Examples for x86**
183
180
184
181
The first step is to open a command line and change working directory to the root of the embARC MLI repo. Afterward, you can use one of the following commands.
185
182
@@ -196,7 +193,7 @@ The first step is to open a command line and change working directory to the roo
196
193
197
194
## ARC Processors
198
195
199
-
Main target platforms for embARC MLI Library are ARC processors. The specific processor family is determined by *.tcf file provided for library configuration. It is highly recommended to use embARC MLI 2.0 for VPX processor only. EM/HS targets are not properly tested and optimized. You can use [embARC MLI 1.1](https://github.com/foss-for-synopsys-dwc-arc-processors/embarc_mli/releases/tag/Release_1.1).
196
+
Main target platforms for embARC MLI Library are ARC processors. The specific processor family is determined by *.tcf file provided for library configuration. It is highly recommended to use embARC MLI 2.0 for VPX processor only. EM/HS targets are not properly tested and optimized. You can use [embARC MLI 1.1](https://github.com/foss-for-synopsys-dwc-arc-processors/embarc_mli/releases/tag/Release_1.1) instead.
200
197
201
198
embARC MLI Library build for ARC processors requires [MetaWare Development Tools](https://www.synopsys.com/dw/ipdir.php?ds=sw_metaware) (MWDT) version 2021.03 and higher.
202
199
@@ -223,8 +220,8 @@ As a result of configuration and build you will find `bin/arc` folder with the M
223
220
`<Additional options>` which have no or limited effect in this mode are [`FULL_ACCU`](#full_accu), [`ROUND_MODE`](#round_mode). [`ROUND_MODE`](#round_mode) option is applicable only for ARC EMxD family.
224
221
225
222
226
-
### **Build Command Examples For ARC Processors**
227
-
The following commands assume usage of the recommended VPX configuration. TCF for this configuration you need to generate using _tcfgen_ tool delivered with MetaWare Development tools. The first step is to open a command line and change working directory to the root of the embARC MLI repo. Then use the following command to generate recommended tcf file taking default `vpx5_integar_full` configuration as basis:
223
+
### **Build Command Examples for ARC Processors**
224
+
The following commands assume usage of the recommended VPX configuration. TCF forthis configuration you need to generate using _tcfgen_ tool delivered with MetaWare Development tools,in order to ensure sufficient target memory to run all of the examples. The first step is to open a command line and change working directory to the root of the embARC MLI repo. Then use the following command to generate recommended tcf file taking default `vpx5_integar_full` configuration as basis:
LSTM Based Human Activity Recognition example. The model is intended to differentiate human activity between 6 classes based on inputs from embedded inertial sensors from waist-mounted smartphone.
LSTM Based Human Activity Recognition example. The model is intended to differentiate human activity between 6 classes based on inputs from embedded inertial sensors from waist-mounted smartphone.
@@ -429,9 +440,7 @@ An example of speech recognition implementation for key word spotting.
429
440
430
441
# Known Issues
431
442
432
-
1. The embARC MLI 2.0 is in active development phase. Things might be broken, not optimal or contain bugs. For a proper usage of embARC MLI Library please checkout the [latest release](https://github.com/foss-for-synopsys-dwc-arc-processors/embarc_mli/releases).
433
-
434
-
2. embARC MLI 2.0 is partially optimized for ARC EMxD and ARC HSxD targets. Currently we recommend only building for VPX and x86 emulation targets. You can use MLI 1.1 for EM/HS targets.
443
+
1. embARC MLI 2.0 is partially optimized for ARC EMxD and ARC HSxD targets. Currently we recommend only building for VPX and x86 emulation targets. You can use MLI 1.1 for EM/HS targets.
Copy file name to clipboardExpand all lines: doc/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ embARC MLI Documentation
3
3
4
4
The embARC MLI documentation can be built using [Sphynx](http://sphinx-doc.org/) together with the theme provided by [Read the Docs](https://readthedocs.org/)
5
5
6
-
To build the documentation you first need to install Python. See [this instruction](/examples/tutorial_emnist_tensorflow#install-python-and-create-a-virtual-environment) as one of the ways to do so.
6
+
To build the documentation you first need to install Python. See [these instructions](/examples/tutorial_emnist_tflm#install-python-and-create-a-virtual-environment) as one of the ways to do so.
7
7
8
8
Requirements for building the embARC documentation are listed in the [requirements.txt](/doc/requirements.txt). Install it in the following way:
0 commit comments