ResBlock Deploy Error

Hello, when I deploy my model, I get an error because of the ResBlock class I use. I tried to derive and use objects from ResBlock. This time I got an error about the input size, what should I do? Is there anyone who can help?