- Create your neural network, load your dataset.
- Quantize the net, and validate it to make sure it is working as expected.
- Use the MATLAB Coder functionality to generate a C/C++ code which is deployable on machines.
Deep Learning Quantizer Function
조회 수: 6 (최근 30일)
이전 댓글 표시
Hello,
My question is about deep learning quantizer tool of MATLAB. Is it possible te get MATLAB function of network after quantization. I know we can get MATLAB function of shallow networks with "genfunction".
Thanks in advance
댓글 수: 0
답변 (1개)
Akshat
2024년 2월 26일
편집: Akshat
2024년 2월 26일
Hi Burak,
I realize that you want to get a MATLAB function out of a deep neural network after quantization, just like you can get one out of a shallow network with "genFunction".
As of now, there is no functionality to get a MATLAB function out of a deep neural network post quantization, but there is a workaround if you want to generate a deployable code for a microcontroller or a system; using MATLAB Coder.
The steps are:
To know how to quantize the networks, please refer to these documentations:
"quantize" function : https://www.mathworks.com/help/deeplearning/ref/dlquantizer.quantize.html
"dlquantizer" object : https://www.mathworks.com/help/deeplearning/ref/dlquantizer.html
To know how to deploy deep learning models using MATLAB Coder, follow this link:
Hope this helps!
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Data Workflows에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!