numpy实现卷积网络
import numpy as npclass conv(): def __init__(self,in_channles,out_channles,kernel=3,stride=1,padding=0): self.in_channles = in_channles self.out_channles =out_channles self.kernel = kernel self.stride = stride .