Resize((224,224))
Yeah you need some basic calculus + linear algebra. I think he gives a refresher?? If not there are lots of resources to learn that.
I just remembered this series which introduces the neural nets you’re using on images from a famous youtuber called 3 blue 1 brown. He has very nice visualizations.