笔试卷积实现python
#!/bin/python# -*- coding: utf8 -*-'''输入5 5, 1 1 1 1 1 1 2 2 2 1 1 2 4 2 1 1 2 2 2 1 1 1 1 1 15 5, 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 12输出3 3 , 15 23 15 23 36 23 15 23 15'''class Solution: def conv2d_x(self, kernel, image, x,