矩阵相乘:
a = tf.matmul(x,w1)
卷积核:
kernel = np.array([0,-1,0],[-1,5,-1],[0,-1,0])
dst = cv2.filter2D(img,-1, kernel =kernel )
矩阵相乘:
a = tf.matmul(x,w1)
卷积核:
kernel = np.array([0,-1,0],[-1,5,-1],[0,-1,0])
dst = cv2.filter2D(img,-1, kernel =kernel )