Thank you very much, it works. I found I just made a mistake on the input image.
btw, I wonder is there any way to simultaneously implement a fixed size conv filter on every channel of the input rather than copy the filter by 5 times like I did in my code?