Evaluating all NeuralNetworks in a cell array simultanously

1 visualizzazione (ultimi 30 giorni)
Hi,
i have cell array of neural networks, which are all trained.
I now want to feed one inpuct vector into all of those NN (it's the same input values for all NNs), but it needs to be done as quickly as possible as I am working on a realtime application. Does anyone have an idea about how to do that without looping through the single networks? Or possibly a different approach than saving the networks in a cell array?
Thanks in advance!

Risposta accettata

Sai Bhargav Avula
Sai Bhargav Avula il 9 Dic 2019
Hi,
You can make use of the parfor to speed up the process.
The links given below will give in detailed explanation on how to make best use of parfor
Even though the given examples are for training. You can use the case just for validatation.
Hope this helps!

Più risposte (0)

Prodotti


Release

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by