- 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?
10 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Shubham Baisthakur
el 20 de Mzo. de 2023
Comentada: 天钾
el 25 de Nov. de 2024
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 comentarios
Respuesta aceptada
Sanjana
el 30 de Mzo. de 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!
2 comentarios
天钾
el 25 de Nov. de 2024
But it seems that this function only supports trained networks. What whould I do if I want to train the network with a coder?
Más respuestas (0)
Ver también
Categorías
Más información sobre Deep Learning Toolbox en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!