Deep Learning Quantizer Function

2 vues (au cours des 30 derniers jours)
Burak Can Toker
Burak Can Toker le 4 Mar 2021
Modifié(e) : Akshat le 26 Fév 2024
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

Réponses (1)

Akshat
Akshat le 26 Fév 2024
Modifié(e) : Akshat le 26 Fév 2024
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:
  1. Create your neural network, load your dataset.
  2. Quantize the net, and validate it to make sure it is working as expected.
  3. Use the MATLAB Coder functionality to generate a C/C++ code which is deployable on machines.
To know how to quantize the networks, please refer to these documentations:
To know how to deploy deep learning models using MATLAB Coder, follow this link:
Hope this helps!

Catégories

En savoir plus sur Quantization, Projection, and Pruning dans Help Center et File Exchange

Produits


Version

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by