Comments (4)
@felix-johnny OK! Thanks for your detailed reply!
from cmsis-nn.
@Raise-me-up thanks for the question. CMSIS-NN is an optimization library that provides optimization for some of the ML operators in TensorFlow Lite for Microcontrollers framework.
https://github.com/ARM-software/CMSIS-NN/tree/main/Examples has some examples to see how one can get started on it.
from cmsis-nn.
@felix-johnny Thanks for your reply! I have read your example. However, it is based on Tensorflow lite micro library, and I just want to implement a neural network by using cmsis-nn purely, not the third party library. Are there any other examples?
from cmsis-nn.
@Raise-me-up Sorry, there isn't one..CMSIS-NN is not a ML framework(like Tensor Flow Lite for Microcontrollers(TFLM)) but rather an optimization library. It implements int8 optimizations as per TFLM's int8 quantization spec and uses TFLM's reference kernels as fallback when there are operators in a network that are not supported by CMSIS-NN.
If you are starting off with a tflite model, you could potentially extract the hyper parameters and make your own version of interface like in https://github.com/tensorflow/tflite-micro/tree/main/tensorflow/lite/micro/kernels/cmsis_nn . This creates complexity, overhead and the loss scalability and robustness. The upside will be a few kB's of program memory saved.
I hope that helps answer a few thoughts.
from cmsis-nn.
Related Issues (20)
- missing arm_s8_to_s16_unordered_with_offset.c when I included the pack HOT 3
- Output diff for new lstm-operator
- Confusing doc on `arm_nn_requantize`
- MVE Conv 1 x N does not handle all configurations HOT 1
- Unit tests fails to build with -O0
- Possible undefined behavior for `arm_nn_requantize` when compiling with `CMSIS_NN_USE_SINGLE_ROUNDING` HOT 9
- Inconsistency of CMSIS-NN Quantization Method(Q-format) with ARM Documentation HOT 4
- Inconsistency of CMSIS-NN Quantization Method(Q-format) with ARM Documentation HOT 2
- No MVE support Conv2D int16
- arm_elementwise_add_s8 does not work properly for a Residual Architecture HOT 7
- IAR compiler issues HOT 1
- Is there a roadmap? HOT 3
- Does the MVEI version of CMSIS NN have implementations of q15 and q7? HOT 1
- Vector of variable length used in arm_convolve_1x1_s8_fast HOT 1
- Documentation warning HOT 1
- What does CMSIS exactly refer to? HOT 1
- Occur an ASM error when compiling arm_nn_mat_mul_core_4x_s8 HOT 11
- reserved identifier violation HOT 6
- Is there some easy to get started guide? HOT 1
- Include/Internal/arm_nn_compiler.h: undefined __ARM_FEATURE_MVE HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cmsis-nn.