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

回答 (1 件)

檮杌
檮杌 2023 年 10 月 4 日
編集済み: 檮杌 2023 年 10 月 4 日

0 投票

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 件のコメント

Yongjie
Yongjie 2023 年 10 月 4 日
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
Walter Roberson
Walter Roberson 2023 年 10 月 4 日

Note that you cannot deploy network training

Yongjie
Yongjie 2023 年 10 月 4 日
Yes, I know. I just want to deploy the trained model. Training the model can be implemented on the computer.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeDeep Learning Toolbox についてさらに検索

質問済み:

2023 年 10 月 3 日

コメント済み:

2023 年 10 月 4 日

Community Treasure Hunt

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

Start Hunting!

Translated by