Coder Social home page Coder Social logo

Comments (4)

Raise-me-up avatar Raise-me-up commented on June 26, 2024 1

@felix-johnny OK! Thanks for your detailed reply!

from cmsis-nn.

felix-johnny avatar felix-johnny commented on June 26, 2024

@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.

Raise-me-up avatar Raise-me-up commented on June 26, 2024

@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.

felix-johnny avatar felix-johnny commented on June 26, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.