parfor for multi layer perceptron

1 次查看(过去 30 天)
Tiki Tiki
Tiki Tiki 2019-5-17
评论: Tiki Tiki 2019-5-17
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 个)

标签

Community Treasure Hunt

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

Start Hunting!

Translated by