Reshape and normalize images

Hello I got error for define function Reshape and normalize images
Could you please guide me

reshape images to add more dimension code

Images =

normalize pixel values code

Images =
Many time i am trying to solve this with a different codes but it’s not work

Please don’t create duplicate posts. Here’s the original topic.

You can change the subcategory of a topic by following the community user guide.