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

Antworten (1)

檮杌
檮杌 am 4 Okt. 2023
Bearbeitet: 檮杌 am 4 Okt. 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 Kommentare

Thanks for your response. My target device is TI C2000. My target device is the TI C2000, and I am not sure which type of device can realize the computation of CNN Convolutional Networks. Because, usually DSPs have limited computing power. My network is a simple CNN network with two layers. The function that needs to be completed after deployment is to enable online fault diagnosis

Note that you cannot deploy network training

Yes, I know. I just want to deploy the trained model. Training the model can be implemented on the computer.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Deep Learning Toolbox finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 3 Okt. 2023

Kommentiert:

am 4 Okt. 2023

Community Treasure Hunt

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

Start Hunting!

Translated by