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 comentario

Tiki Tiki
Tiki Tiki el 17 de Mayo de 2019
because i want to accelerate my code by using all cores in my computer. so I prefer using parfor to do this.

Iniciar sesión para comentar.

Respuestas (0)

Etiquetas

Preguntada:

el 17 de Mayo de 2019

Comentada:

el 17 de Mayo de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by