Evaluating all NeuralNetworks in a cell array simultanously

1 次查看(过去 30 天)
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!

采纳的回答

Sai Bhargav Avula
Sai Bhargav Avula 2019-12-9
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!

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Image Data Workflows 的更多信息

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by