- Use “genFunction” to generate a complete stand-alone MATLAB function for simulating a neural network including all settings, weight and bias values, module functions and calculations in one file.
- You can then generate C/C++ code from this standalone MATLAB function.
How to use a neural network model generated using feedforwardnet in code generation?
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Shubham Baisthakur
am 20 Mär. 2023
Kommentiert: Shubham Baisthakur
am 30 Mär. 2023
I am getting an error: "Object type "Network" is not supported for code generation". I have tried using coder.loadDeepLearningNetwork but still not working.
0 Kommentare
Akzeptierte Antwort
Sanjana
am 30 Mär. 2023
Hi,
I Understand that you are facing an issue with code generation of shallow neural networks.
“Coder.loadDeepLearningNetwork” can be used only with Deep Neural Networks. To achieve code generation for shallow neural networks, follow the below approach:
Please refer the below link, for further information
Hope this helps!
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Deep Learning Toolbox finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!