What is wrong in this piece of code?

{moderator edit - solution code removed}

It is for the first assignment (CNN) – test did not pass, the results are wrong…

Hi Wz111,

You can start by having a look here. Good luck!