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 Commento

because i want to accelerate my code by using all cores in my computer. so I prefer using parfor to do this.

Accedi per commentare.

Risposte (0)

Tag

Richiesto:

il 17 Mag 2019

Commentato:

il 17 Mag 2019

Community Treasure Hunt

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

Start Hunting!

Translated by