Parallel computing issues

Thank you for your answer!

Calling kappa.x.scatter_forward() after the loop does not produce the same results, but I will follow your notes. But what does scatter_forward() actually do? I did not find an explanation in the tutorials.