MATLAB Answers

Deep Learning Matlab Code

1 view (last 30 days)
Burak Can Toker
Burak Can Toker on 2 Mar 2021
Commented: Shraddha Jain on 12 Mar 2021
Hello,
I have a problem about quantized deep learning network in function. I want to get a MATLAB function of this network after quantize this network. I know we got a function with genfunction in MATLAB. However, this is used for small networks. I want similar thing in bigger network.
Is it possible?
Thanks,

Answers (1)

Shraddha Jain
Shraddha Jain on 5 Mar 2021
Hi Burak,
The genFunction that you have referred here is specifically for generating a stand-alone MATLAB function for shallow neural networks. Shallow neural network generally consists of two or three layers whereas Deep neural networks may have many layers, even hundreds. In order to perform code generation faster for shallow neural networks, there exists this seperate function. For all other types of neural network, one may refer to Deep Learning Code Generation.
In the case of code generation for Quantized Deep Learning Network as metioned here, kindly refer to the following link, https://www.mathworks.com/help/gpucoder/ug/code-generation-for-quantized-deep-learning-networks.html
Hope this help!
  2 Comments
Shraddha Jain
Shraddha Jain on 12 Mar 2021
A function similar to genFunction for Deep Neural Networks is not supported as of now, it might be considered in a future release.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!