Deep Learning for ARM using Simulink/Embedded Coder
이전 댓글 표시
I noticed that the Matlab example shows code generation which takes advantage of the ARM Compute library for deep learning by Simulink/Embedded Coder.
The questions are about
- what version of the ARM Compute Library is supported or exact versions 19.05 and 20.02.1?
- Is it dependent on the library version supported by embedded target which is already pre-built by vendor?
- Is it able to run the models with ARM-NN which utilizes the Compute Library to on-chip execution unit?
- Does codegen support additional (proprietary) libraries?
- Can codegen utilize an already available python DNN interpreter or C++ interpreter which is available on-chip?
Thank you.
답변 (1개)
Nathan Malimban
2021년 12월 16일
0 개 추천
Hi Peter,
1. For 21b, the supported ARM Compute library versions are 19.02,19.05,20.02.1, and 20.11.
2. Just make sure that the version on the hardware is one of the ones compatible for your MATLAB release. For setting the library up on the hardware, see https://www.mathworks.com/matlabcentral/answers/455590-matlab-coder-how-do-i-build-the-arm-compute-library-for-deep-learning-c-code-generation-and-deplo.=
3. Today, we directly call into ARM-Compute library without using ARM-NN indirection as it does not provide any additional benefits for ARM Cortex A series processors. We’d be interested in learning how ARM-NN improves your deployment workflow, though.
4. For boards with ARM Cortex-M, codegen supports CMSIS-NN starting in 22a. For Intel CPUs, codegen supports MKL-DNN. For NVIDIA GPUs, codegen supports the CuDNN and TensorRT libraries.
5. We are supporting deployment of TFLite models in 22a.
댓글 수: 6
Peter Balazovic
2021년 12월 17일
편집: Peter Balazovic
2021년 12월 17일
Peter Balazovic
2021년 12월 17일
Peter Balazovic
2021년 12월 17일
편집: Peter Balazovic
2021년 12월 17일
Nathan Malimban
2021년 12월 17일
편집: Nathan Malimban
2021년 12월 17일
4. TFLite Micro will not be supported in 22a, but it's good for us to hear requests so we can plan accordingly for the future. Is your question out of curiosity or would codegen support for TFLite Micro help your workflow?
Nathan Malimban
2021년 12월 17일
5. Yes. In 22a, we will allow you to load a tflite network in MATLAB and generate code. The generated code leverages the tflite intepreter.
Peter Balazovic
2021년 12월 17일
편집: Peter Balazovic
2021년 12월 17일
카테고리
도움말 센터 및 File Exchange에서 Deep Learning Code Generation Fundamentals에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!