Deep Learning - Generating code for trained sequence data

2 ビュー (過去 30 日間)
Ramakrishnan Raman
Ramakrishnan Raman 2018 年 10 月 1 日
回答済み: Shounak Mitra 2018 年 10 月 8 日
I have Sequence data and have trained a network using Deep Learning Framework: Example is per below layers = [ ... sequenceInputLayer(featureDimension) lstmLayer(numHiddenUnits,'OutputMode','sequence') fullyConnectedLayer(100) leakyReluLayer fullyConnectedLayer(100) leakyReluLayer fullyConnectedLayer(100) leakyReluLayer fullyConnectedLayer(numResponses) regressionLayer];
Am able to save the trained network and loaded back, per below.
MytrainedNet = net; save MytrainedNet; load MytrainedNet ; YnewPred = predict(MytrainedNet ,myXTrain{1},'MiniBatchSize',1);
However, I need to generate the code function for the trained network.The genFunction does not support this net object. Subsequently, need to be able to generate the C code to be runnable on a CPU (i.e. with no GPU support)

採用された回答

Shounak Mitra
Shounak Mitra 2018 年 10 月 8 日
Hi Ramakrishnan,
Unfortunately, we do not support code-gen for LSTMs yet. We plan to add that functionality soon.
Thanks Shounak

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDeep Learning Toolbox についてさらに検索

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by