The table below provides information about the changes delivered with specific versions of CMSIS-NN.
Version | Description |
---|---|
v6.0.0 | The following are the updates compared to previous release in CMSIS-NN v5.0.0 These are non backward compatible API change, hence the release has a major version update. Please refer to arm_nnfunctions.h for more details. Int32 bias support for int16x8 convolution - arm_convolve_wrapper_s16/arm_convolve_s16 parameters updated Int16 input convolution support for MVEI - removed arm_convolve_fast_s16 LSTM reimplemention - most LSTM API functions replaced or updated API function arm_convolve_1_x_n_s8_get_buffer_size parameters updated Performance improvements for int4 DW convolution MVE Conv improvments by avoiding unaligned access LSTM reimplementation - overall improvements MVE Conv 1xN conv using im2col MVEI packed int4 kernel support in FC, convolution and DW convolution LSTM reimplemented to align with TFLM reference kernel. LSTM support for int16 input DSP/MVEI support for Transpose convolution Support for grouped convolutions Non zero filter offset support for FC Int16 input convolution support for MVEI Int32 bias support for int16x8 convolution Unit tests refactoring started Full Changelog**: https://github.com/ARM-software/CMSIS-NN/compare/v5.0.0...v6.0.0 |
v5.0.0 | The following are the updates compared to previous release in CMSIS-NN v4.1.0 Improved read efficiency in FC for MVE extension. This also means FC and SVDF calculate kernel sums in prepare phase before actual inference, and because of this there may be an increase in memory usage for certain models. Packed int4 kernel support in FC, convolution and DW convolution for scalar version and DSP extension. Scalar/base support for new operator Transpose convolution. Extended unit test coverage. Full Changelog**: https://github.com/ARM-software/CMSIS-NN/compare/23.08...v5.0.0 |
v4.1.0 | The following are the updates compared to previous release in CMSIS-NN v4.0.0 Improvements in LSTM, generic convolution, 1xN convolution, DW convolution and FC for MVE extension. Improvements in LSTM, generic convolution and int8/int16 elementwise mul for DSP extension. Script to extract model hyperparameters. Get size of buffers on host to support TVM use case. Dependency to CMSIS-Core is removed. CMSIS-NN can be built without including any other CMSIS module. A new DS_CNN_S model unit test is added that is used in End-to-End benchmark AudioMark. Extended unit test coverage. Potential out of buffer write in SVDF state data. Fix selection of correct int16 DW Convolution function. Workaround for a GCC 12.2 Internal Compiler Error affecting MVE. Fix error in buffer size calculation of DW Convolution wrapper for int8. Fix 'asm operand has impossible constraint' error for certain combination of GCC compiler related to MVE optimizations. |
v4.0.0 | The following are the updates compared to previous release in CMSIS 5.9.0 The return type of all API's that returned a status is now changed. CMSIS-NN used error codes from CMSIS-DSP in the form of enum 'arm_status'. This is now replaced by enum 'arm_cmsis_nn_status'. The status values are still the same. It is reccomended that users change the return type in their applications. Neural Network(NN) operators which do not follow the quantization specification of TensorFlow Lite for Microcontrollers is removed. Existing users can use CMSIS 5.9.0 release to continue using it. As a consequence of this, the data type aliases q7_t, q15_t, q31_t and q63_t are replaced by int8_t, int16_t, int32_t, int64_t respectively. Scalar implementation of LSTM with unit tests. We plan to add optimizations for DSP extension and Multi Vector Extension(MVE) in the next release. These are new optimizations to existing operators.
|