Evaluating all NeuralNetworks in a cell array simultanously

1 view (last 30 days)
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!

Accepted Answer

Sai Bhargav Avula
Sai Bhargav Avula on 9 Dec 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!

More Answers (0)

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!