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
Copy file name to clipboardExpand all lines: doc/documents/library_model/hw_dependencies_config.rst
+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
@@ -109,7 +109,7 @@ round to the nearest even). All parameters are described in *MetaWare
109
109
Fixed-Point Reference for ARC EM and ARC HS*.
110
110
111
111
.. note::
112
-
The MLI Library sets the required DSP mode inside each function where it is needed, but does not restore it to previous state. If another ARC DSP code beside MLI library is used in an application, ensure that you set the required DSP mode before its execution. For more information see “Configuring the ARC DSP Extensions” section of *MetaWare DSP Programming Guide for ARC EM and ARC HS* or “Using the FXAPI” section of entry [5] of *MetaWare Fixed-Point Reference for ARC EM and ARC HS*.
112
+
The MLI Library sets the required DSP mode inside each function where it is needed, but does not restore it to previous state. If another ARC DSP code beside MLI library is used in an application, ensure that you set the required DSP mode before its execution. For more information see “Configuring the ARC DSP Extensions” section of *MetaWare DSP Programming Guide for ARC EM and ARC HS* or “Using the FXAPI” section of *MetaWare Fixed-Point Reference for ARC EM and ARC HS*.
Copy file name to clipboardExpand all lines: examples/example_cifar10_caffe/README.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -106,6 +106,21 @@ More Options on Building and Running
106
106
---------------------------------------
107
107
CIFAR-10 example application is implemented in the same way as LSTM Based HAR example and provides the same configuration and running abilities. For more details see appropriate HAR example [description part](/examples/example_har_smartphone/README.md#more-options-on-building-and-running).
108
108
109
+
Data Memory Requirements
110
+
----------------------------
111
+
112
+
Example application uses statically allocated memory for model weights and intermediate results (activations) and structures. Requirements for them depends on model bit depth
113
+
configuration define and listed in table below. Before compiling application for desired hardware configuration, be sure it has enough memory to keep data.
114
+
115
+
| Data | MODEL_BIT_DEPTH=8 | MODEL_BIT_DEPTH=816 | MODEL_BIT_DEPTH=16 |
By default, application uses MODEL_BIT_DEPTH=16 mode. Application code size depends on target hardware configuration and compilation flags. MLI Library code is wrapped into mli_lib section.
1.**Built-in input processing.** Uses only hard-coded vector for the single input model inference.
125
129
No application input arguments.
@@ -139,6 +143,22 @@ Input test-set and labels paths are required as argument.
139
143
Notes: If the example is compiled with GNU tools, then these modes are transferred to the application using mdb_com_gnu command script file for MetaWare Debugger.
140
144
Modify this file to customize the example run mode.
141
145
146
+
147
+
Data Memory Requirements
148
+
----------------------------
149
+
150
+
Example application uses statically allocated memory for model weights and intermediate results (activations) and structures. Requirements for them depends on model bit depth
151
+
configuration define and listed in table below. Before compiling application for desired hardware configuration, be sure it has enough memory to keep data.
152
+
153
+
| Data | MODEL_BIT_DEPTH=8 | MODEL_BIT_DEPTH=816 | MODEL_BIT_DEPTH=16 |
By default, application uses MODEL_BIT_DEPTH=16 mode. Application code size depends on target hardware configuration and compilation flags. MLI Library code is wrapped into mli_lib section.
160
+
161
+
142
162
References
143
163
----------------------------
144
164
GitHub project served as starting point for this example:
0 commit comments