Why can'I put build in function (like sim..neural ) in arrayfun to compute with gpu?

1 回表示 (過去 30 日間)
lin da da
lin da da 2015 年 10 月 24 日
コメント済み: lin da da 2015 年 10 月 26 日
Why can'I put build in function (like sim..neural ) in arrayfun to compute with gpu? It said that net can't be translated to gpu.How I supposed to do this? I really need this.I need to simulate many neural network in one time. And don't tell me use sim(net,x,'useGPU','yes') I have tried it. But it runs more slower. I think it owing to my net is too small. But my set is very large. Even when one 'sim' only take 0.01 second. When I run 1000 set,it runs for 10 second!! But they are paralleled.It's very inefficient.

採用された回答

Walter Roberson
Walter Roberson 2015 年 10 月 24 日
If you have a bicycle and you put a sticker on the frame that says "Turbo-charger enabled!" then that doesn't mean that the bicycle can actually use a turbo charger. At the very least you would need to reinforce the frame at strategic points to support the extra thrust.
  6 件のコメント
lin da da
lin da da 2015 年 10 月 25 日
Yes,you understand correctly. It seems not helpful. Maybe I should write by myself. But I have another question. It said arrayfun is element wise. a.*b+c. All a,b,c is a vector. But if I want c to be a modified constant. How should I do? If you have a little know about neural network,maybe you can figure out what I am talking about.That c is network's weight.All the weight are the same,but it will change after training.
lin da da
lin da da 2015 年 10 月 26 日
Oh my god!! What am I so stupid. I have already found my answer.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSequence and Numeric Feature Data Workflows についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by