I am currently trying to block a 512 by 512 image into 1024 blocks being 16 by 16 in size then converting them to vectors of length 256. Here is my attempt. Whenever I run t