如何在pytorch中使用可分离卷积 depth-wise Separable convolution

针对深度级别/可分离的卷积,可以使用卷积组参数,如果groups = nInputPlane,就是Depthwise;如果groups = nInputPlane,kernel=(K, 1)(针对二维卷积,前面加上,groups=1 and kernel=(1, K)),就是可分离的。 以下将torch的官方手册搬过来介绍使用方法(https://pytorch.org/docs/master/n
相关文章
相关标签/搜索