parfor for multi layer perceptron

Hi everyone
I have a problem, can you help me?
I want to use parfor to optimize my multilayer perceptron.
for examples, I run 60000 samples of MNIST. each sample I have feedforward pass, backforward pass.
so, if i write parfor like this, is this ok?
parfor i = 1:1:600000
feedforward(samples(i));
backforward(samples(i));
end
please, help me how to use parfor in MLP
Thank, have a good day

1 件のコメント

Tiki Tiki
Tiki Tiki 2019 年 5 月 17 日
because i want to accelerate my code by using all cores in my computer. so I prefer using parfor to do this.

サインインしてコメントする。

回答 (0 件)

タグ

質問済み:

2019 年 5 月 17 日

コメント済み:

2019 年 5 月 17 日

Community Treasure Hunt

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

Start Hunting!

Translated by