Evaluating all NeuralNetworks in a cell array simultanously

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일

1 개 추천

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개)

카테고리

도움말 센터File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

제품

릴리스

R2019b

질문:

2019년 11월 24일

답변:

2019년 12월 9일

Community Treasure Hunt

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

Start Hunting!

Translated by