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

1 visualización (últimos 30 días)
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.

Respuesta aceptada

Walter Roberson
Walter Roberson el 24 de Oct. de 2015
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 comentarios
lin da da
lin da da el 25 de Oct. de 2015
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 el 26 de Oct. de 2015
Oh my god!! What am I so stupid. I have already found my answer.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Sequence and Numeric Feature Data Workflows en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by