Yolov7 with self-made layer but encounter with an error

I am trying to do self training with yolov7 model ( yolov7/models/common.py at main · WongKinYiu/yolov7 · GitHub ) ; I modified the common.py(yolov7/models/common.py), using the custom-designed layer “Conv” which is different form the original ones.
The different is just like below pictures:
The Original :

The self-made :

below is the self-made-layer file with the sharing link:

And I have encountered the question
image

Please help me to figure out the solution or error I made, Thank you !!!

Could you post a minimal and executable code snippet reproducing the issue, please?