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: README.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -73,6 +73,15 @@ Building of embARC MLI library
73
73
74
74
5. Result Quality shall be "S/N=1823.9 (65.2 db)"
75
75
76
+
## Optimizations for code size
77
+
------------------------------
78
+
By default the embARC MLI Library is build for optimal speed. If code size needs to be reduced, there are two things that can be done:
79
+
1. For convolution and pooling layers there are specialized funtions for specific kernel sizes, they are called by a wrapper functions based on the parameters.
80
+
These parameters are compile time constant in the application, so the application can directly call the specialized functions. This will reduce over all code size.
81
+
Please be aware that the list of specializations is not guaranteed to be backwards compatible between releases.
82
+
83
+
2. Use a different optimization mode when calling the makefile. OPTMODE=size will optimize for size. default is OPTMODE=speed
0 commit comments