Target size that is different to the input size

Thanks a lot for your reply. Could you please show me the part of code that you have changed to solve this proplem?
I really appreciate it.