In your last topic, I’ve posted a small example, how to get non-overlapping patches: link 216.
Have a look at this post 180 to see, how these patches can be transformed into the original input tensor.
Note, that your current input shape it not divisible without a remainder by 32, so you might want to add padding to the input before unfolding.