Is it possible to convert a deep neural network to C++ and then deploy it to run on a DSP?

6 views (last 30 days)
Is it possible to convert a deep neural network to C++ and then deploy it to run on a DSP?

Answers (1)

檮杌
檮杌 on 4 Oct 2023
Edited: 檮杌 on 4 Oct 2023
In a simple answer, yes, you can. C/C++ code generation is supported for many neural network layers. You can refer to the doc below to see networks and layers that are supported for code generation.
Also, below is a hands-on example to generate a C/C++ code with a neural network.
However, more information is required in order to get a precise answer. For example, what "DSP" device are you mentioning about? In other words, what's your target device? How is your network composed of? What is your workflow? What do you want to achieve with deploying functionalities?
  3 Comments
Yongjie
Yongjie on 4 Oct 2023
Yes, I know. I just want to deploy the trained model. Training the model can be implemented on the computer.

Sign in to comment.

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!