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